Share 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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
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: Boolean

.NET Framework Security

See Also

Reference

CreateDiagramElementMap Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace