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)

属性值

适用于