DropTargetContext.Remove Method
Removes the DragDropContext from the transaction's context info.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Shared Sub Remove ( _
transaction As Transaction _
)
public static void Remove(
Transaction transaction
)
public:
static void Remove(
Transaction^ transaction
)
static member Remove :
transaction:Transaction -> unit
public static function Remove(
transaction : Transaction
)
Parameters
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
.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.