ConnectAction.GetConnectionTypes Method
Determine from source if a specific connection type exits
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Protected Overridable Function GetConnectionTypes ( _
sourceShapeElement As ShapeElement, _
targetShapeElement As ShapeElement _
) As ConnectionType()
protected virtual ConnectionType[] GetConnectionTypes(
ShapeElement sourceShapeElement,
ShapeElement targetShapeElement
)
protected:
virtual array<ConnectionType^>^ GetConnectionTypes(
ShapeElement^ sourceShapeElement,
ShapeElement^ targetShapeElement
)
abstract GetConnectionTypes :
sourceShapeElement:ShapeElement *
targetShapeElement:ShapeElement -> ConnectionType[]
override GetConnectionTypes :
sourceShapeElement:ShapeElement *
targetShapeElement:ShapeElement -> ConnectionType[]
protected 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: array<Microsoft.VisualStudio.Modeling.Diagrams.ConnectionType[]
.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.