RelativePosition.Contains Method
Returns a value indicating whether the specified RelativePosition exists inside of this RelativePosition.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Function Contains ( _
value As RelativePosition _
) As Boolean
public bool Contains(
RelativePosition value
)
public:
bool Contains(
RelativePosition^ value
)
member Contains :
value:RelativePosition -> bool
public function Contains(
value : RelativePosition
) : boolean
Parameters
- value
Type: Microsoft.Windows.Design.Interaction.RelativePosition
The RelativePosition to check.
Return Value
Type: System.Boolean
true if value is contained within this RelativePosition; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | value is nulla null reference (Nothing in Visual Basic). |
.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