共用方式為


DisplayMetadata.EnumNamesAndValues 屬性

定義

取得 中 UnderlyingOrModelType 所有 Enum 值的名稱和值。 請參閱 EnumNamesAndValues

public:
 property System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ EnumNamesAndValues { System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ get(); void set(System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ value); };
public System.Collections.Generic.IReadOnlyDictionary<string,string> EnumNamesAndValues { get; set; }
public System.Collections.Generic.IReadOnlyDictionary<string,string>? EnumNamesAndValues { get; set; }
member this.EnumNamesAndValues : System.Collections.Generic.IReadOnlyDictionary<string, string> with get, set
Public Property EnumNamesAndValues As IReadOnlyDictionary(Of String, String)

屬性值

適用於