ConnectAction.GetConnectionTypes 方法

,如果特定连接类型退出,请从源确定

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Protected Overridable Function GetConnectionTypes ( _
    sourceShapeElement As ShapeElement, _
    targetShapeElement As ShapeElement _
) As ConnectionType()
protected virtual ConnectionType[] GetConnectionTypes(
    ShapeElement sourceShapeElement,
    ShapeElement targetShapeElement
)

参数

返回值

类型:array<Microsoft.VisualStudio.Modeling.Diagrams.ConnectionType[]

.NET Framework 安全性

请参见

参考

ConnectAction 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间