Share via


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

'Declaration
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

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

See Also

Reference

DropTargetContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace