RuntimeFeature.IsSupported(String) 方法

定義

判斷 Common Language Runtime 是否支援指定的功能。Determines whether a specified feature is supported by the 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

功能名稱。The name of the feature.

傳回

Boolean

如果支援 feature,則為 true;否則為 falsetrue if feature is supported; otherwise, false.

適用於