Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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
rectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe bounding rectangle for the shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.GraphObject.VGGeneralDirection
The side of the shape to which the port was assigned.
.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.