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
- sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.