JniRuntime.ReplacementMethodInfo.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.
Overloads
| Name | Description |
|---|---|
| Equals(JniRuntime+ReplacementMethodInfo) |
Compares all eight stored replacement metadata components. |
| Equals(Object) |
Tests whether an object is an equal replacement description. |
Equals(JniRuntime+ReplacementMethodInfo)
Compares all eight stored replacement metadata components.
public bool Equals(Java.Interop.JniRuntime.ReplacementMethodInfo other);
override this.Equals : Java.Interop.JniRuntime.ReplacementMethodInfo -> bool
Parameters
The replacement description to compare.
Returns
true when every component is equal; otherwise, false.
Implements
Remarks
String components use ordinal, case-sensitive equality; nullable counts and the redirect flag are compared by value.
Applies to
Equals(Object)
Tests whether an object is an equal replacement description.
public override bool Equals(object? obj);
override this.Equals : obj -> bool
Parameters
- obj
- Object
The object to compare with this description.
Returns
true if obj is an equal JniRuntime.ReplacementMethodInfo; otherwise, false.
Remarks
Null and objects of other types compare unequal.