共用方式為


CompletionSet.DisplayName Property

Gets or sets the localized name of this completion set.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'宣告
Public Overridable Property DisplayName As String
public virtual string DisplayName { get; set; }
public:
virtual property String^ DisplayName {
    String^ get ();
    void set (String^ value);
}
abstract DisplayName : string with get, set
override DisplayName : string with get, set
function get DisplayName () : String
function set DisplayName (value : String)

Property Value

Type: System.String
The localized name of this completion set.

Remarks

In the default presenter, the display name appears as the header of a tab item in the WPF tab control. For example, in Visual Basic projects, the completion window has two tabs named Common and All.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Language.Intellisense Namespace