RuntimeFeature.IsSupported(String) 方法

定義

判斷 Common Language Runtime 是否支援指定的功能。

public:
 static bool IsSupported(System::String ^ feature);
public static bool IsSupported (string feature);
static member IsSupported : string -> bool
Public Shared Function IsSupported (feature As String) As Boolean

參數

feature
String

功能名稱。

傳回

如果支援 feature,則為 true;否則為 false

適用於