Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DisplayNameAttribute.DisplayName Property

Definition

Namespace:
System.ComponentModel
Assemblies:
netstandard.dll, System.ComponentModel.Primitives.dll
Assembly:
System.ComponentModel.Primitives.dll
Assembly:
System.dll
Assembly:
netstandard.dll
Source:
DisplayNameAttribute.cs
Source:
DisplayNameAttribute.cs
Source:
DisplayNameAttribute.cs
Source:
DisplayNameAttribute.cs
Source:
DisplayNameAttribute.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the display name for a property, event, or public void method that takes no arguments stored in this attribute.

public:
 virtual property System::String ^ DisplayName { System::String ^ get(); };
public virtual string DisplayName { get; }
member this.DisplayName : string
Public Overridable ReadOnly Property DisplayName As String

Property Value

The display name.

Applies to


Feedback

Was this page helpful?