Partager via


XrmTimeSpan.Equals Method

Definition

Overloaded. Returns a value indicating whether two instances of XrmTimeSpan are equal.

Overloads

Equals(Object)

Returns a value indicating whether this instance is equal to a specified object.

Equals(XrmTimeSpan)

Returns a value indicating whether this instance is equal to a specified XrmTimeSpan object.

Equals(Object)

Returns a value indicating whether this instance is equal to a specified object.

public:
 override bool Equals(System::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

. Specifies the object to test for equality with the current instance.

Returns

true if value is a XrmTimeSpan object that represents the same time interval as the current XrmTimeSpan structure; otherwise, false.

Applies to

Equals(XrmTimeSpan)

Returns a value indicating whether this instance is equal to a specified XrmTimeSpan object.

public:
 bool Equals(Microsoft::Xrm::Sdk::Workflow::XrmTimeSpan value);
public bool Equals (Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan value);
override this.Equals : Microsoft.Xrm.Sdk.Workflow.XrmTimeSpan -> bool
Public Function Equals (value As XrmTimeSpan) As Boolean

Parameters

value
XrmTimeSpan

Specifies the XrmTimeSpan instance to test for equality with the current instance.

Returns

true if the value represents the same time interval as the current XrmTimeSpan structure; otherwise, false.

Applies to