Share via


NodeShape.Side Method

Assigns a side of the shape to the port.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Overridable Function Side ( _
    rectangle As RectangleD _
) As VGGeneralDirection
[CLSCompliantAttribute(false)]
public virtual VGGeneralDirection Side(
    RectangleD rectangle
)
[CLSCompliantAttribute(false)]
public:
virtual VGGeneralDirection Side(
    RectangleD rectangle
)
[<CLSCompliantAttribute(false)>]
abstract Side : 
        rectangle:RectangleD -> VGGeneralDirection 
[<CLSCompliantAttribute(false)>]
override Side : 
        rectangle:RectangleD -> VGGeneralDirection
public function Side(
    rectangle : RectangleD
) : VGGeneralDirection

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.GraphObject.VGGeneralDirection
The side of the shape to which the port was assigned.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace