Metodo System::EnumValues::GetValueOf

EnumValues::GetValueOf(const String&, bool) const method

Restituisce il valore boxed della costante enum con il nome specificato.

virtual SharedPtr<Object> System::EnumValues<E, Guard>::GetValueOf(const String &str, bool ignoreCase) const override
ParametroTipoDescrizione
strconst String&Il nome della costante enum
ignoreCaseboolSpecifica se il case deve essere ignorato quando si interpreta il nome della costante enum.

ReturnValue

Un valore boxed della costante enum il cui nome è specificato in str.

Vedi anche

EnumValues::GetValueOf(long) const method

Restituisce il valore boxed della costante enum con il valore specificato.

virtual SharedPtr<Object> System::EnumValues<E, Guard>::GetValueOf(long val) const override
ParametroTipoDescrizione
vallongIl valore della costante enum

ReturnValue

Un valore boxed della costante enum il cui vakye è specificato in str.

Vedi anche