classe System::EnumValues
Contenuti
[
Nascondere
]EnumValues class
Fornisce informazioni meta sui costanti di enumerazione del tipo enum E.
template<typename E,class Guard>class EnumValues : public System::EnumValuesBase
| Parametro | Descrizione |
|---|---|
| E | Il tipo di enumerazione |
Metodi
| Metodo | Descrizione |
|---|---|
| EnumValues() | Costruisce un’istanza. |
| GetNames() const override | Restituisce un array contenente tutti i nomi dell’enumerazione E. |
| static GetNames(const TypeInfo&) | Recupera un array dei nomi dei costanti in una enumerazione specificata. |
| GetUnderlyingType() const override | Restituisce il tipo sottostante dell’enumerazione specificata. |
| static GetUnderlyingType(const TypeInfo&) | Restituisce il tipo sottostante dell’enumerazione specificata. |
| GetValueOf(const String&, bool) const override | Restituisce il valore boxed della costante enum con il nome specificato. |
| GetValueOf(long) const override | Restituisce il valore boxed della costante enum con il valore specificato. |
| GetValues() const override | Restituisce un array contenente tutti i valori dell’enumerazione E. |
| static GetValues(const TypeInfo&) | Restituisce un array contenente tutti i valori del tipo di enumerazione specificato. |
| static Parse(const TypeInfo&, const String&, bool) | Restituisce un oggetto che rappresenta il valore di una costante di enumerazione del tipo di enumerazione specificato con il nome specificato. |
| static ToObject(const TypeInfo&, uint64_t) | Converte il valore intero senza segno a 64 bit specificato in un membro di enumerazione. |
| static ToObject(const TypeInfo&, const SharedPtr<Object>&) | Converte l’oggetto specificato con un valore intero in un membro di enumerazione. |
| virtual ~EnumValues() | Distruttore. |
Vedi anche
- Class EnumValuesBase
- Namespace System
- Library Aspose.Font for C++