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

Syntax

'Declaração
<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: 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