Partilhar 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

'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

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