Partilhar via


ModelMetadata.EnumNamesAndValues Propriedade

Definição

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

public:
 abstract property System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ EnumNamesAndValues { System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ get(); };
public abstract System.Collections.Generic.IReadOnlyDictionary<string,string> EnumNamesAndValues { get; }
public abstract System.Collections.Generic.IReadOnlyDictionary<string,string>? EnumNamesAndValues { get; }
member this.EnumNamesAndValues : System.Collections.Generic.IReadOnlyDictionary<string, string>
Public MustOverride 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