Partager via


RectangleD.Contains Method (PointD)

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

'Déclaration
Public Function Contains ( _
    pt As PointD _
) As Boolean
public bool Contains(
    PointD pt
)
public:
bool Contains(
    PointD pt
)
member Contains : 
        pt:PointD -> bool 
public function Contains(
    pt : PointD
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

RectangleD Structure

Contains Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace