Compartilhar via


CreateDiagramElementMap.CanAcceptSource Method

Can this connection builder accept the given element as its connection source

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

Syntax

'Declaração
Public Shared Function CanAcceptSource ( _
    sourceElement As ModelElement _
) As Boolean
public static bool CanAcceptSource(
    ModelElement sourceElement
)
public:
static bool CanAcceptSource(
    ModelElement^ sourceElement
)
static member CanAcceptSource : 
        sourceElement:ModelElement -> bool 
public static function CanAcceptSource(
    sourceElement : ModelElement
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CreateDiagramElementMap Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace