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


Convierte el objeto especificado con un valor entero a un miembro de enumeración.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| tipo | const TypeInfo\& | El tipo de enumeración a devolver. |
| valor | const SharedPtr\<Object\>\& | El valor se convierte en un miembro de enumeración. |

### ReturnValue

Un objeto de enumeración cuyo valor es value.

## Ver también

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


Convierte el valor entero sin signo de 64 bits especificado a un miembro de enumeración.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| tipo | const TypeInfo\& | El tipo de enumeración a devolver. |
| valor | uint64_t | El valor a convertir en un miembro de enumeración. |

### ReturnValue

Una instancia de la enumeración establecida en value.

## Ver también

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