RelativePoint.Equality Operator
Compares two RelativePoint structures. The result specifies whether the values of the Position, X, and Y properties of the two RelativePoint structures are equal.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared Operator = ( _
point1 As RelativePoint, _
point2 As RelativePoint _
) As Boolean
public static bool operator ==(
RelativePoint point1,
RelativePoint point2
)
public:
static bool operator ==(
RelativePoint point1,
RelativePoint point2
)
static let inline (=)
point1:RelativePoint *
point2:RelativePoint : bool
JScript does not support overloaded operators.
Parameters
- point1
Type: Microsoft.Windows.Design.Interaction.RelativePoint
The first RelativePoint to compare.
- point2
Type: Microsoft.Windows.Design.Interaction.RelativePoint
The second RelativePoint to compare.
Return Value
Type: System.Boolean
true if the Position, X, and Y properties are equal; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace