## ResourceManager::GetObject__(String) method


从资源获取对象。名称不是 GetObject()，以处理 GetObjectA 定义问题。

```cpp
virtual SharedPtr<Object> System::Resources::ResourceManager::GetObject__(String name)
```


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

### ReturnValue

请求的资源。

## 另见

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


从资源获取对象。名称不是 GetObject()，以处理 GetObjectA 定义问题。

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


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

### ReturnValue

请求的资源。

## 另见

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