Partager via


EditorFormatDefinition.DisplayName Property

Defines the string used when displaying this format definition to the user. This property is used only if the UserVisibleAttribute is set to true on this object's export.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Déclaration
Public Property DisplayName As String
public string DisplayName { get; protected set; }
public:
property String^ DisplayName {
    String^ get ();
    protected: void set (String^ value);
}
member DisplayName : string with get, set
function get DisplayName () : String
protected function set DisplayName (value : String)

Property Value

Type: System.String
The display string.

.NET Framework Security

See Also

Reference

EditorFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace