LanguagePreferences.LanguageName Property
Gets or sets the name the language service is registered under.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Declaration
Protected Property LanguageName As String
protected string LanguageName { get; set; }
protected:
property String^ LanguageName {
String^ get ();
void set (String^ value);
}
member LanguageName : string with get, set
function get LanguageName () : String
function set LanguageName (value : String)
Property Value
Type: String
The name of the language or nulla 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.
.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.