Metodo System::EnumValuesBase::ToObject
Contenuti
[
Nascondere
]EnumValuesBase::ToObject(const TypeInfo&, const SharedPtr<Object>&) method
Converte l’oggetto specificato con un valore intero in un membro di enumerazione.
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. |
| valore | 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
- Class Object
- Class TypeInfo
- Class EnumValuesBase
- Namespace System
- Library Aspose.Font for C++
EnumValuesBase::ToObject(const TypeInfo&, uint64_t) method
Converte il valore intero senza segno a 64 bit specificato in un membro di enumerazione.
static SharedPtr<Object> System::EnumValuesBase::ToObject(const TypeInfo &type, uint64_t value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| tipo | const TypeInfo& | Il tipo di enumerazione da restituire. |
| valore | uint64_t | Il valore da convertire in un membro di enumerazione. |
ReturnValue
Un’istanza dell’enumerazione impostata a value.
Vedi anche
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class EnumValuesBase
- Namespace System
- Library Aspose.Font for C++