## UserProperties::GetProperty(System::String) method


Mendapatkan nilai properti string.

```cpp
virtual System::String Aspose::Page::UserProperties::GetProperty(System::String key)
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| kunci | System::String | Nama properti. |

### ReturnValue

Nilai properti.

## Lihat Juga

* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::GetProperty(System::String, System::String) method


Mendapatkan nilai properti string. Jika properti yang diminta tidak ada, mengembalikan nilai default yang diberikan.

```cpp
virtual System::String Aspose::Page::UserProperties::GetProperty(System::String key, System::String defValue)
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| kunci | System::String | Nama properti. |
| defValue | System::String | Nilai default properti. |

### ReturnValue

Nilai properti.

## Lihat Juga

* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
