Delen via


DropTargetContext.HasDropTargetContext Method

Gets a value indicating whether any drop target context is available from the specified transaction.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Function HasDropTargetContext ( _
    transaction As Transaction _
) As Boolean
public static bool HasDropTargetContext(
    Transaction transaction
)
public:
static bool HasDropTargetContext(
    Transaction^ transaction
)
static member HasDropTargetContext : 
        transaction:Transaction -> bool
public static function HasDropTargetContext(
    transaction : Transaction
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

DropTargetContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace