Udostępnij za pośrednictwem


ConnectionType.CanCreateConnection(ShapeElement, ShapeElement, String) Method

Definition

public:
 virtual bool CanCreateConnection(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ sourceShapeElement, Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ targetShapeElement, System::String ^ % connectionWarning);
public virtual bool CanCreateConnection (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement sourceShapeElement, Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement targetShapeElement, ref string connectionWarning);
abstract member CanCreateConnection : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * string -> bool
override this.CanCreateConnection : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * string -> bool
Public Overridable Function CanCreateConnection (sourceShapeElement As ShapeElement, targetShapeElement As ShapeElement, ByRef connectionWarning As String) As Boolean

Parameters

sourceShapeElement
ShapeElement
targetShapeElement
ShapeElement
connectionWarning
String

Returns

Applies to