次の方法で共有


ConnectAction.GetConnectionTypes Method

Determine from source if a specific connection type exits

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣言
Protected Overridable Function GetConnectionTypes ( _
    sourceShapeElement As ShapeElement, _
    targetShapeElement As ShapeElement _
) As ConnectionType()
protected virtual ConnectionType[] GetConnectionTypes(
    ShapeElement sourceShapeElement,
    ShapeElement targetShapeElement
)
protected:
virtual array<ConnectionType^>^ GetConnectionTypes(
    ShapeElement^ sourceShapeElement, 
    ShapeElement^ targetShapeElement
)
abstract GetConnectionTypes : 
        sourceShapeElement:ShapeElement * 
        targetShapeElement:ShapeElement -> ConnectionType[] 
override GetConnectionTypes : 
        sourceShapeElement:ShapeElement * 
        targetShapeElement:ShapeElement -> ConnectionType[] 
protected function GetConnectionTypes(
    sourceShapeElement : ShapeElement, 
    targetShapeElement : ShapeElement
) : ConnectionType[]

Parameters

Return Value

Type: array<Microsoft.VisualStudio.Modeling.Diagrams.ConnectionType[]

.NET Framework Security

See Also

Reference

ConnectAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace