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
'宣言
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
- rectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The RectangleD to test.
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.