LanguageService.GetLanguageName Method (String)


Returns the name of the language this language service handles.

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

public virtual int GetLanguageName(
	out string name


Type: System.String

[out] Returns the name of the language.

Return Value

Type: System.Int32

If successful, returns S_OK; otherwise, returns an error code.

The base method always returns the value returned by the Name property (which must be implemented in a derived class).

Return to top