Partager via


DropTargetContext.GetTargetDiagramId(Transaction) Method

Definition

Gets the diagram id of the drop target.

public:
 static Guid GetTargetDiagramId(Microsoft::VisualStudio::Modeling::Transaction ^ transaction);
public static Guid GetTargetDiagramId (Microsoft.VisualStudio.Modeling.Transaction transaction);
static member GetTargetDiagramId : Microsoft.VisualStudio.Modeling.Transaction -> Guid
Public Shared Function GetTargetDiagramId (transaction As Transaction) As Guid

Parameters

transaction
Transaction

The transaction to check for the drop target context.

Returns

The diagram id of the drop target.

Applies to