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


Converte l'oggetto specificato con un valore intero in un membro dell'enumerazione.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| tipo | const TypeInfo\& | Il tipo di enumerazione da restituire. |
| value | const SharedPtr\<Object\>\& | Il valore da convertire in un membro di enumerazione. |

### ReturnValue

Un oggetto di enumerazione il cui valore è value.

## Vedi anche

* 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


Converte il valore intero senza segno a 64 bit specificato in un membro dell'enumerazione.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| tipo | const TypeInfo\& | Il tipo di enumerazione da restituire. |
| value | uint64_t | Il valore da convertire in un membro dell'enumerazione. |

### ReturnValue

Un'istanza dell'enumerazione impostata a value.

## Vedi anche

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