RectangleD.Contains Method (Double, Double)
Determines if the specified point is contained within this RectangleD structure.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Function Contains ( _
x As Double, _
y As Double _
) As Boolean
public bool Contains(
double x,
double y
)
public:
bool Contains(
double x,
double y
)
member Contains :
x:float *
y:float -> bool
public function Contains(
x : double,
y : double
) : boolean
Parameters
- x
Type: System.Double
The x-coordinate of the point to test.
- y
Type: System.Double
The y-coordinate of the point to test
Return Value
Type: System.Boolean
.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.