다음을 통해 공유


CreateEmbeddingRelationship.CanAcceptTarget Method

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

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

‘선언
Public Shared Function CanAcceptTarget ( _
    candidate As ModelElement _
) As Boolean
public static bool CanAcceptTarget(
    ModelElement candidate
)
public:
static bool CanAcceptTarget(
    ModelElement^ candidate
)
static member CanAcceptTarget : 
        candidate:ModelElement -> bool 
public static function CanAcceptTarget(
    candidate : ModelElement
) : boolean

Parameters

Return Value

Type: System.Boolean
Whether the element can be used as the target of a connection.

.NET Framework Security

See Also

Reference

CreateEmbeddingRelationship Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace