Bewerken

Delen via


ValueSource.Equality(ValueSource, ValueSource) Operator

Definition

Determines whether two ValueSource instances have the same value.

public:
 static bool operator ==(System::Windows::ValueSource vs1, System::Windows::ValueSource vs2);
public static bool operator == (System.Windows.ValueSource vs1, System.Windows.ValueSource vs2);
static member ( = ) : System.Windows.ValueSource * System.Windows.ValueSource -> bool
Public Shared Operator == (vs1 As ValueSource, vs2 As ValueSource) As Boolean

Parameters

vs1
ValueSource

The first ValueSource to compare.

vs2
ValueSource

The second ValueSource to compare.

Returns

true if the two ValueSource instances are equivalent; otherwise, false.

Remarks

This implementation calls Equals, and supports value equality based on all properties of ValueSource.

Applies to

See also