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
声明
Public Property DisplayName As String
    Get
    Protected Set
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.