RuntimeFeature.IsSupported(String) 方法

定义

确定公共语言运行时是否支持指定功能。

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

适用于