Share via


LanguageService.Name Property

Returns the name of the language (for example, "C++" or "HTML").

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Name As String
public abstract string Name { get; }
public:
virtual property String^ Name {
    String^ get () abstract;
}
abstract Name : string with get
abstract function get Name () : String

Property Value

Type: String
Returns a string containing the name of the language. This must return the same name the language service was registered with in Visual Studio.

Remarks

This property must be implemented in the class derived from LanguageService.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace