Unit.Equality(Unit, Unit) Operator
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.
Compares two Unit objects to determine whether they are equal.
public:
static bool operator ==(System::Web::UI::WebControls::Unit left, System::Web::UI::WebControls::Unit right);
public static bool operator == (System.Web.UI.WebControls.Unit left, System.Web.UI.WebControls.Unit right);
static member ( = ) : System.Web.UI.WebControls.Unit * System.Web.UI.WebControls.Unit -> bool
Public Shared Operator == (left As Unit, right As Unit) As Boolean
Parameters
Returns
true
if both Unit objects are equal; otherwise, false
.
Remarks
Use this operator to compare two Unit objects for equality. For both objects to be equal, they must have the same values for both the Type and Value properties.
The equivalent method for this operator is Unit.Equals(Object)
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.