共用方式為


Compilation.SupportsRuntimeCapability(RuntimeCapability) 方法

定義

判斷這個 Compilation 目標是否支援特定功能的執行時間。

public bool SupportsRuntimeCapability (Microsoft.CodeAnalysis.RuntimeCapability capability);
member this.SupportsRuntimeCapability : Microsoft.CodeAnalysis.RuntimeCapability -> bool
Public Function SupportsRuntimeCapability (capability As RuntimeCapability) As Boolean

參數

capability
RuntimeCapability

傳回

備註

false如果傳入未知的功能,則傳回 。

適用於