Partilhar via


DropTargetContext.Set Method

Adds the drop target context information to the specified transaction for later use.

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 Sub Set ( _
    transaction As Transaction, _
    targetDiagramId As Guid, _
    dropLocation As PointD, _
    ghostShapes As GhostShapeCollection _
)
public static void Set(
    Transaction transaction,
    Guid targetDiagramId,
    PointD dropLocation,
    GhostShapeCollection ghostShapes
)
public:
static void Set(
    Transaction^ transaction, 
    Guid targetDiagramId, 
    PointD dropLocation, 
    GhostShapeCollection^ ghostShapes
)
static member Set : 
        transaction:Transaction * 
        targetDiagramId:Guid * 
        dropLocation:PointD * 
        ghostShapes:GhostShapeCollection -> unit 
public static function Set(
    transaction : Transaction, 
    targetDiagramId : Guid, 
    dropLocation : PointD, 
    ghostShapes : GhostShapeCollection
)

Parameters

  • targetDiagramId
    Type: System.Guid
    The diagram Id of the drop target.

.NET Framework Security

See Also

Reference

DropTargetContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace