DropTargetContext.GetDropLocation Method
Gets the drop location from the specified transaction.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Shared Function GetDropLocation ( _
transaction As Transaction _
) As PointD
public static PointD GetDropLocation(
Transaction transaction
)
public:
static PointD GetDropLocation(
Transaction^ transaction
)
static member GetDropLocation :
transaction:Transaction -> PointD
public static function GetDropLocation(
transaction : Transaction
) : PointD
Parameters
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
The transaction to check for the drop target context.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
Remarks
The drop location returned is the value saved to the specified transaction by an earlier call to the static method AddDropTargetContext.
.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.