ConnectAction.GetConnectionTypes(ShapeElement, ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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