SolutionServices.GetRequiredLanguageService<TLanguageService> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public TLanguageService GetRequiredLanguageService<TLanguageService> (string language) where TLanguageService : Microsoft.CodeAnalysis.Host.ILanguageService;
member this.GetRequiredLanguageService : string -> 'LanguageService (requires 'LanguageService :> Microsoft.CodeAnalysis.Host.ILanguageService)
Public Function GetRequiredLanguageService(Of TLanguageService As ILanguageService) (language As String) As TLanguageService
類型參數
- TLanguageService
參數
- language
- String
傳回
TLanguageService