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
transaction
Type: Microsoft.VisualStudio.Modeling.TransactionThe transaction to check for the drop target context.
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.