Metoda ConnectAction.GetConnectionTypes —
Określić źródło, czy wyjścia typu określonego połączenia
Przestrzeń nazw: Microsoft.VisualStudio.Modeling.Diagrams
Zestaw: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Składnia
'Deklaracja
Protected Overridable Function GetConnectionTypes ( _
sourceShapeElement As ShapeElement, _
targetShapeElement As ShapeElement _
) As ConnectionType()
protected virtual ConnectionType[] GetConnectionTypes(
ShapeElement sourceShapeElement,
ShapeElement targetShapeElement
)
Parametry
- sourceShapeElement
Typ: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShapeElement
Typ: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Wartość zwracana
Typ: array<Microsoft.VisualStudio.Modeling.Diagrams.ConnectionType[]
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..