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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
'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
x
Type: DoubleThe x-coordinate of the point to test.
y
Type: DoubleThe y-coordinate of the point to test
Type: Boolean
- 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.