## EnumValuesBase::ToObject(const TypeInfo\&, const SharedPtr\<Object\>\&) method


整数値を持つ指定されたオブジェクトを列挙メンバーに変換します。

```cpp
static SharedPtr<Object> System::EnumValuesBase::ToObject(const TypeInfo &type, const SharedPtr<Object> &value)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| 型 | const TypeInfo\& | 返す列挙型。 |
| value | const SharedPtr\<Object\>\& | 列挙メンバーに変換される値。 |

### ReturnValue

値が value である列挙オブジェクト。

## 参照

* Typedef [SharedPtr](../../sharedptr/)
* Class [Object](../../object/)
* Class [TypeInfo](../../typeinfo/)
* Class [EnumValuesBase](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## EnumValuesBase::ToObject(const TypeInfo\&, uint64_t) method


指定された 64 ビット符号なし整数値を列挙メンバーに変換します。

```cpp
static SharedPtr<Object> System::EnumValuesBase::ToObject(const TypeInfo &type, uint64_t value)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| 型 | const TypeInfo\& | 返す列挙型。 |
| value | uint64_t | 列挙メンバーに変換する値。 |

### ReturnValue

値が value に設定された列挙のインスタンス。

## 参照

* Typedef [SharedPtr](../../sharedptr/)
* Class [Object](../../object/)
* Class [TypeInfo](../../typeinfo/)
* Class [EnumValuesBase](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
