LanguagePreferences.LanguageName Property

Gets or sets the name the language service is registered under.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣言
Protected Property LanguageName As String
'使用
Dim value As String

value = Me.LanguageName

Me.LanguageName = value
protected string LanguageName { get; set; }
protected:
property String^ LanguageName {
    String^ get ();
    void set (String^ value);
}
protected function get LanguageName () : String
protected function set LanguageName (value : String)

Property Value

Type: System.String

The name of the language or a null reference (Nothing in Visual Basic) if the name was not set.

Remarks

The value returned is the same as the value passed to the constructor. This property is typically not set outside the LanguagePreferences class itself.

Permissions

See Also

Reference

LanguagePreferences Class

LanguagePreferences Members

Microsoft.VisualStudio.Package Namespace