ModelMetadata.EnumNamesAndValues Proprietà

Definizione

Ottiene i nomi e i valori di tutti i Enum valori in 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)

Valore della proprietà

Oggetto IReadOnlyDictionary<TKey,TValue> di mapping tra Enum nomi di campo e valori. null se IsEnum è false.

Si applica a