CreateReferenceRelationship.CanAcceptSource(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 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.