Share via


CreateEmbeddingRelationship.CanAcceptSource(ModelElement) Method

Definition

Test whether a given model element is acceptable to this ConnectionBuilder as the source of a connection.

public:
 static bool CanAcceptSource(Microsoft::VisualStudio::Modeling::ModelElement ^ candidate);
public static bool CanAcceptSource (Microsoft.VisualStudio.Modeling.ModelElement candidate);
static member CanAcceptSource : Microsoft.VisualStudio.Modeling.ModelElement -> bool
Public Shared Function CanAcceptSource (candidate As ModelElement) As Boolean

Parameters

candidate
ModelElement

The model element to test.

Returns

Whether the element can be used as the source of a connection.

Applies to