语言

SecurityKey.IsSupportedAlgorithm(String) 方法

定义

在派生类中重写时,获取一个值,该值指示此类是否支持指定的算法。

public:
 abstract bool IsSupportedAlgorithm(System::String ^ algorithm);
public abstract bool IsSupportedAlgorithm(string algorithm);
abstract member IsSupportedAlgorithm : string -> bool
Public MustOverride Function IsSupportedAlgorithm (algorithm As String) As Boolean

参数

algorithm
String

加密算法。

返回

true 当此类支持指定的算法时;否则,为 false.

适用于