CreateInheritanceLink.CanAcceptTarget(ModelElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.