共用方式為


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

'宣告
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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

RectangleD Structure

Contains Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace