CngProperty.Equals CngProperty.Equals CngProperty.Equals CngProperty.Equals Method

Definition

Compares two CngProperty objects.

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the specified object to the current CngProperty object.

Equals(CngProperty) Equals(CngProperty) Equals(CngProperty) Equals(CngProperty)

Compares the specified CngProperty object to the current CngProperty object.

Remarks

CngProperty objects are considered equal if their names, values, and options are equivalent. Name comparison is performed in a case-sensitive manner.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the specified object to the current CngProperty object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object Object Object Object

An object to be compared to the current CngProperty object.

Returns

true if the obj parameter is a CngProperty object that specifies the same property as the current object; otherwise, false.

Remarks

CngProperty objects are considered equal if their names, values, and options are equivalent. Name comparison is performed in a case-sensitive manner.

Equals(CngProperty) Equals(CngProperty) Equals(CngProperty) Equals(CngProperty)

Compares the specified CngProperty object to the current CngProperty object.

public:
 virtual bool Equals(System::Security::Cryptography::CngProperty other);
public bool Equals (System.Security.Cryptography.CngProperty other);
override this.Equals : System.Security.Cryptography.CngProperty -> bool
Public Function Equals (other As CngProperty) As Boolean

Parameters

other
CngProperty CngProperty CngProperty CngProperty

An object to be compared to the current CngProperty object.

Returns

true if the other parameter represents the same property as the current object; otherwise, false.

Implements

Remarks

CngProperty objects are considered equal if their names, values, and options are equivalent. Name comparison is performed in a case-sensitive manner.

Applies to