Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Sub PositionChildPort ( _
portShape As Port, _
parentShape As NodeShape _
)
'使用
Dim instance As PortPlacementHelper
Dim portShape As Port
Dim parentShape As NodeShape
instance.PositionChildPort(portShape, _
parentShape)
public virtual void PositionChildPort(
Port portShape,
NodeShape parentShape
)
public:
virtual void PositionChildPort(
Port^ portShape,
NodeShape^ parentShape
)
public function PositionChildPort(
portShape : Port,
parentShape : NodeShape
)
Parameters
- portShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.Port
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
Permissions
- 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.