共用方式為


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 命名空間