Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected Overridable Function FindEmptyPortPosition ( _
portShape As Port, _
parentShape As NodeShape _
) As PointD
'使用
Dim portShape As Port
Dim parentShape As NodeShape
Dim returnValue As PointD
returnValue = Me.FindEmptyPortPosition(portShape, _
parentShape)
protected virtual PointD FindEmptyPortPosition(
Port portShape,
NodeShape parentShape
)
protected:
virtual PointD FindEmptyPortPosition(
Port^ portShape,
NodeShape^ parentShape
)
protected function FindEmptyPortPosition(
portShape : Port,
parentShape : NodeShape
) : PointD
Parameters
- portShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.Port
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
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.