## ResourceManager::GetString(String) method


获取字符串资源。

```cpp
virtual String System::Resources::ResourceManager::GetString(String name)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| name | 字符串 | 资源名称。 |

### ReturnValue

[String](../../../system/string/) resource value.

## 另见

* Class [String](../../../system/string/)
* Class [ResourceManager](../)
* Namespace [System::Resources](../../)
* Library [Aspose.Page for C++](../../../)
## ResourceManager::GetString(String, SharedPtr\<System::Globalization::CultureInfo\>) method


获取字符串资源。

```cpp
virtual String System::Resources::ResourceManager::GetString(String name, SharedPtr<System::Globalization::CultureInfo> culture)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| name | 字符串 | 资源名称。 |
| 区域性 | SharedPtr\<System::Globalization::CultureInfo\> | 在资源查找和解码期间使用的区域性。 |

### ReturnValue

[String](../../../system/string/) resource value.

## 另见

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CultureInfo](../../../system.globalization/cultureinfo/)
* Class [ResourceManager](../)
* Namespace [System::Resources](../../)
* Library [Aspose.Page for C++](../../../)
