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


获取字符串数组属性值。

```cpp
virtual System::ArrayPtr<System::String> Aspose::Page::UserProperties::GetPropertyStringArray(System::String key)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |

### ReturnValue

属性值。

## 另见

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [String](../../../system/string/)
* Class [UserProperties](../)
* Namespace [Aspose::Page](../../)
* Library [Aspose.Page for C++](../../../)
## UserProperties::GetPropertyStringArray(System::String, System::ArrayPtr\<System::String\>) method


获取字符串数组属性值。如果请求的属性不存在，则返回提供的默认值。

```cpp
virtual System::ArrayPtr<System::String> Aspose::Page::UserProperties::GetPropertyStringArray(System::String key, System::ArrayPtr<System::String> defValue)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | System::String | 属性的名称。 |
| defValue | System::ArrayPtr\<System::String\> | 属性的默认值。 |

### ReturnValue

属性值。

## 另见

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