次の方法で共有


CreateEmbeddingRelationship.CanAcceptSource Method

Test whether a given model element is acceptable to this ConnectionBuilder as the source 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 CanAcceptSource ( _
    candidate As ModelElement _
) As Boolean
public static bool CanAcceptSource(
    ModelElement candidate
)
public:
static bool CanAcceptSource(
    ModelElement^ candidate
)
static member CanAcceptSource : 
        candidate:ModelElement -> bool 
public static function CanAcceptSource(
    candidate : ModelElement
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

CreateEmbeddingRelationship Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace