Partilhar via


CreateDiagramElementMap.CanAcceptSourceAndTarget Method

Definition

Can this connection builder accept the given elements as its connection source and targets.

public:
 static bool CanAcceptSourceAndTarget(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement, Microsoft::VisualStudio::Modeling::ModelElement ^ targetElement);
public static bool CanAcceptSourceAndTarget (Microsoft.VisualStudio.Modeling.ModelElement sourceElement, Microsoft.VisualStudio.Modeling.ModelElement targetElement);
static member CanAcceptSourceAndTarget : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> bool
Public Shared Function CanAcceptSourceAndTarget (sourceElement As ModelElement, targetElement As ModelElement) As Boolean

Parameters

sourceElement
ModelElement
targetElement
ModelElement

Returns

Applies to