共用方式為


HostWorkspaceServices.GetLanguageServices(String) Method

Definition

Gets the HostLanguageServices for the language name.

public:
 virtual Microsoft::CodeAnalysis::Host::HostLanguageServices ^ GetLanguageServices(System::String ^ languageName);
public virtual Microsoft.CodeAnalysis.Host.HostLanguageServices GetLanguageServices (string languageName);
abstract member GetLanguageServices : string -> Microsoft.CodeAnalysis.Host.HostLanguageServices
override this.GetLanguageServices : string -> Microsoft.CodeAnalysis.Host.HostLanguageServices
Public Overridable Function GetLanguageServices (languageName As String) As HostLanguageServices

Parameters

languageName
String

Returns

Exceptions

Thrown if the language isn't supported.

Applies to