Baca dalam bahasa Inggris

Bagikan melalui


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)

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: Double

    The x-coordinate of the point to test.

  • y
    Type: Double

    The y-coordinate of the point to test

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

RectangleD Structure

Contains Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace