Partager via


RectangleD.Contains Method (RectangleD)

Determines if the rectangular region represented by rectangle is entirely 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 ( _
    rectangle As RectangleD _
) As Boolean
public bool Contains(
    RectangleD rectangle
)
public:
bool Contains(
    RectangleD rectangle
)
member Contains : 
        rectangle:RectangleD -> bool 
public function Contains(
    rectangle : RectangleD
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

RectangleD Structure

Contains Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace