共用方式為


LanguageService.GetLanguageName(String) Method

Definition

Returns the name of the language this language service handles.

public:
 virtual int GetLanguageName([Runtime::InteropServices::Out] System::String ^ % name);
 virtual int GetLanguageName([Runtime::InteropServices::Out] std::wstring const & & name);
public virtual int GetLanguageName (out string name);
abstract member GetLanguageName : string -> int
override this.GetLanguageName : string -> int
Public Overridable Function GetLanguageName (ByRef name As String) As Integer

Parameters

name
String

[out] Returns the name of the language.

Returns

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

Implements

Remarks

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

Applies to