This member overrides ConnectAction.GetConnectionTypes(ShapeElement, ShapeElement).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected Overrides Function GetConnectionTypes ( _
sourceShapeElement As ShapeElement, _
targetShapeElement As ShapeElement _
) As ConnectionType()
'使用
Dim sourceShapeElement As ShapeElement
Dim targetShapeElement As ShapeElement
Dim returnValue As ConnectionType()
returnValue = Me.GetConnectionTypes(sourceShapeElement, _
targetShapeElement)
protected override ConnectionType[] GetConnectionTypes(
ShapeElement sourceShapeElement,
ShapeElement targetShapeElement
)
protected:
virtual array<ConnectionType^>^ GetConnectionTypes(
ShapeElement^ sourceShapeElement,
ShapeElement^ targetShapeElement
) override
protected override function GetConnectionTypes(
sourceShapeElement : ShapeElement,
targetShapeElement : ShapeElement
) : ConnectionType[]
Parameters
- sourceShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: []
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.
See Also
Reference
GenericCoreConnectAction Class