Share via


ConnectAction.GetConnectionTypes(ShapeElement, ShapeElement) Method

Definition

Determine from source if a specific connection type exits

protected:
 virtual cli::array <Microsoft::VisualStudio::Modeling::Diagrams::ConnectionType ^> ^ GetConnectionTypes(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ sourceShapeElement, Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ targetShapeElement);
protected virtual Microsoft.VisualStudio.Modeling.Diagrams.ConnectionType[] GetConnectionTypes (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement sourceShapeElement, Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement targetShapeElement);
abstract member GetConnectionTypes : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.ConnectionType[]
override this.GetConnectionTypes : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.ConnectionType[]
Protected Overridable Function GetConnectionTypes (sourceShapeElement As ShapeElement, targetShapeElement As ShapeElement) As ConnectionType()

Parameters

sourceShapeElement
ShapeElement
targetShapeElement
ShapeElement

Returns

Applies to