## ResourceManager::GetString(String) method


获取字符串资源。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | String | 资源名称。 |

### ReturnValue

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

## 另见

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


获取字符串资源。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | String | 资源名称。 |
| 文化 | 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.Font for C++](../../../)
