LanguageService.Name Property

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

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

Syntax

'宣言
Public MustOverride ReadOnly Property Name As String
'使用
Dim instance As LanguageService
Dim value As String

value = instance.Name
public abstract string Name { get; }
public:
virtual property String^ Name {
    String^ get () abstract;
}
public abstract function get Name () : String

Property Value

Type: System.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.

Permissions

See Also

Reference

LanguageService Class

LanguageService Members

Microsoft.VisualStudio.Package Namespace