WebDisplayNameAttribute.DisplayNameValue 属性

定义

获取或设置要在 PropertyGridEditorPart 控件中显示的名称。Gets or sets the name to display in the PropertyGridEditorPart control.

protected:
 property System::String ^ DisplayNameValue { System::String ^ get(); void set(System::String ^ value); };
protected string DisplayNameValue { get; set; }
member this.DisplayNameValue : string with get, set
Protected Property DisplayNameValue As String

属性值

String

一个 String,包含要在 PropertyGridEditorPart 中显示的值。A String containing the value to display in a PropertyGridEditorPart.

注解

DisplayNameValue属性获取或设置通过属性访问的同一值 DisplayNameThe DisplayNameValue property gets or sets the same value that is accessed through the DisplayName property. DisplayNameValue属性是受保护的,因此只能在类内部或通过派生类访问。The DisplayNameValue property is protected and therefore only accessible either within the class or through a derived class.

适用于