ProfileSegmentIsSameDefinition Method (ProfileSegment) |
Determines if this object has the same definition as another object.
Namespace:
AGI.Foundation.RouteDesign.Advanced
Assembly:
AGI.Foundation.RouteDesign (in AGI.Foundation.RouteDesign.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public bool IsSameDefinition(
ProfileSegment other
)
Public Function IsSameDefinition (
other As ProfileSegment
) As Boolean
public:
bool IsSameDefinition(
ProfileSegment^ other
)
member IsSameDefinition :
other : ProfileSegment -> bool
Parameters
- other
- Type: AGI.Foundation.RouteDesign.AdvancedProfileSegment
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