Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected Overridable Function GetConnectionTypes ( _
sourceShapeElement As ShapeElement, _
targetShapeElement As ShapeElement _
) As ConnectionType()
'使用
Dim sourceShapeElement As ShapeElement
Dim targetShapeElement As ShapeElement
Dim returnValue As ConnectionType()
returnValue = Me.GetConnectionTypes(sourceShapeElement, _
targetShapeElement)
protected virtual ConnectionType[] GetConnectionTypes(
ShapeElement sourceShapeElement,
ShapeElement targetShapeElement
)
protected:
virtual array<ConnectionType^>^ GetConnectionTypes(
ShapeElement^ sourceShapeElement,
ShapeElement^ targetShapeElement
)
protected function GetConnectionTypes(
sourceShapeElement : ShapeElement,
targetShapeElement : ShapeElement
) : ConnectionType[]
Parameters
- sourceShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: []
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.