IEquatableDefinitionIsSameDefinition Method |
Determines if this object has the same definition as another object.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax bool IsSameDefinition(
Object other
)
Function IsSameDefinition (
other As Object
) As Boolean
bool IsSameDefinition(
Object^ other
)
abstract IsSameDefinition :
other : Object -> bool
Parameters
- other
- Type: SystemObject
The other instance to compare to this one.
Return Value
Type:
Boolean if this object has the same definition as the specified one.
if the other object is
, a different type
than this one, or if this object and the specified one have different definitions.
Remarks
This method is very similar to
Equals(Object) except that it explicitly considers
the "definitions" of the two objects for objects that do not typically act like values. The definition of
an object typically includes all of the fields of the object.
See Also