AttributeCollection.Equals(Object) Method
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.
Determines whether the current instance of the AttributeCollection object is equal to the specified object.
public:
override bool Equals(System::Object ^ o);
public override bool Equals(object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean
- o
- Object
The object instance to compare with this instance.
true
if the object that is contained in the o
parameter is equal to the current instance of AttributeCollection; otherwise, false
.
For the compared objects to be equal, they must meet the following criteria:
The object that is contained in the
o
parameter must be an AttributeCollection object.Both collections must contain the same number of items.
The key value of each entry in both collections must match.
Poznámka
This method is primarily used by control developers.
Produkt | Verzie |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: