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
)
參數
- sourceShapeElement
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShapeElement
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
傳回值
型別:array<Microsoft.VisualStudio.Modeling.Diagrams.ConnectionType[]
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。