Condividi tramite


DefaultModelMetadata.EnumNamesAndValues Proprietà

Definizione

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

Valore della proprietà

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

Si applica a