Compartilhar via


DefaultModelMetadata.EnumNamesAndValues Propriedade

Definição

Obtém os nomes e valores de todos os Enum valores em UnderlyingOrModelType.

public:
 virtual property System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ EnumNamesAndValues { System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ get(); };
public override System.Collections.Generic.IReadOnlyDictionary<string,string> EnumNamesAndValues { get; }
public override System.Collections.Generic.IReadOnlyDictionary<string,string>? EnumNamesAndValues { get; }
member this.EnumNamesAndValues : System.Collections.Generic.IReadOnlyDictionary<string, string>
Public Overrides ReadOnly Property EnumNamesAndValues As IReadOnlyDictionary(Of String, String)

Valor da propriedade

Um IReadOnlyDictionary<TKey,TValue> de mapeamentos entre Enum nomes de campo e valores. null se IsEnum for false.

Aplica-se a