CngProperty.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two CngProperty objects.
Overloads
Equals(Object) |
Compares the specified object to the current CngProperty object. |
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)
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
Compares the specified object to the current CngProperty 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
Parameters
- obj
- 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.
Applies to
Equals(CngProperty)
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
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
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.