CngAlgorithmGroup.Equals 方法
定义
比较两个 CngAlgorithmGroup 对象。Compares two CngAlgorithmGroup objects.
重载
| Equals(Object) |
将指定的对象与当前的 CngAlgorithmGroup 对象进行比较。Compares the specified object to the current CngAlgorithmGroup object. |
| Equals(CngAlgorithmGroup) |
将指定的 CngAlgorithmGroup 对象与当前的 CngAlgorithmGroup 对象进行比较。Compares the specified CngAlgorithmGroup object to the current CngAlgorithmGroup object. |
Equals(Object)
将指定的对象与当前的 CngAlgorithmGroup 对象进行比较。Compares the specified object to the current CngAlgorithmGroup object.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
参数
- obj
- Object
要与当前的 CngAlgorithmGroup 对象进行比较的对象。An object to be compared to the current CngAlgorithmGroup object.
返回
如果 obj 参数是一个 CngAlgorithmGroup,而且它指定的算法组与当前对象的算法组相同,则为 true;否则为 false。true if the obj parameter is a CngAlgorithmGroup that specifies the same algorithm group as the current object; otherwise, false.
适用于
Equals(CngAlgorithmGroup)
将指定的 CngAlgorithmGroup 对象与当前的 CngAlgorithmGroup 对象进行比较。Compares the specified CngAlgorithmGroup object to the current CngAlgorithmGroup object.
public:
virtual bool Equals(System::Security::Cryptography::CngAlgorithmGroup ^ other);
public bool Equals (System.Security.Cryptography.CngAlgorithmGroup other);
public bool Equals (System.Security.Cryptography.CngAlgorithmGroup? other);
override this.Equals : System.Security.Cryptography.CngAlgorithmGroup -> bool
Public Function Equals (other As CngAlgorithmGroup) As Boolean
参数
- other
- CngAlgorithmGroup
要与当前的 CngAlgorithmGroup 对象进行比较的对象。An object to be compared to the current CngAlgorithmGroup object.
返回
如果 other 参数指定的算法组与当前对象的算法组相同,则为 true;否则为 false。true if the other parameter specifies the same algorithm group as the current object; otherwise, false.