Partilhar via


Método GenericCoreConnectionType.CanCreateConnection

Este membro substitui ConnectionType.CanCreateConnection(ShapeElement, ShapeElement, String%).

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Sintaxe

'Declaração
Public Overrides Function CanCreateConnection ( _
    sourceShapeElement As ShapeElement, _
    targetShapeElement As ShapeElement, _
    ByRef connectionWarning As String _
) As Boolean
public override bool CanCreateConnection(
    ShapeElement sourceShapeElement,
    ShapeElement targetShapeElement,
    ref string connectionWarning
)

Parâmetros

Valor de retorno

Tipo: System.Boolean

Segurança do .NET Framework

Consulte também

Referência

GenericCoreConnectionType Classe

Namespace Microsoft.VisualStudio.Modeling.Diagrams