Udostępnij za pośrednictwem


CreateInheritanceLink.CanAcceptTarget(ModelElement) Method

Definition

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

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

Parameters

candidate
ModelElement

The model element to test.

Returns

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

Applies to