Share 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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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: Boolean

.NET Framework Security

See Also

Reference

RectangleD Structure

Contains Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace