Condividi tramite


DefaultModelMetadata.EnumGroupedDisplayNamesAndValues Proprietà

Definizione

Ottiene i nomi e i valori visualizzati ordinati e raggruppati di tutti i Enum valori in UnderlyingOrModelType.

public:
 virtual property System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Microsoft::AspNetCore::Mvc::ModelBinding::EnumGroupAndName, System::String ^>> ^ EnumGroupedDisplayNamesAndValues { System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Microsoft::AspNetCore::Mvc::ModelBinding::EnumGroupAndName, System::String ^>> ^ get(); };
public override System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.AspNetCore.Mvc.ModelBinding.EnumGroupAndName,string>> EnumGroupedDisplayNamesAndValues { get; }
public override System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.AspNetCore.Mvc.ModelBinding.EnumGroupAndName,string>>? EnumGroupedDisplayNamesAndValues { get; }
member this.EnumGroupedDisplayNamesAndValues : seq<System.Collections.Generic.KeyValuePair<Microsoft.AspNetCore.Mvc.ModelBinding.EnumGroupAndName, string>>
Public Overrides ReadOnly Property EnumGroupedDisplayNamesAndValues As IEnumerable(Of KeyValuePair(Of EnumGroupAndName, String))

Valore della proprietà

Oggetto IEnumerable<T> di KeyValuePair<TKey,TValue> mapping tra Enum gruppi di campi, nomi e valori. null se IsEnum è false.

Si applica a