RelativePosition.Equality Operator
Compares two RelativePosition objects.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared Operator = ( _
point1 As RelativePosition, _
point2 As RelativePosition _
) As Boolean
public static bool operator ==(
RelativePosition point1,
RelativePosition point2
)
public:
static bool operator ==(
RelativePosition^ point1,
RelativePosition^ point2
)
static let inline (=)
point1:RelativePosition *
point2:RelativePosition : bool
JScript does not support overloaded operators.
Parameters
- point1
Type: Microsoft.Windows.Design.Interaction.RelativePosition
The first RelativePosition to compare.
- point2
Type: Microsoft.Windows.Design.Interaction.RelativePosition
The second RelativePosition to compare.
Return Value
Type: System.Boolean
true if the two RelativePosition objects 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