DropTargetContext.GetSourceId(Transaction, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the source ShapeElement Guid corresponding to the given target ShapeElement Guid.
public:
static Guid GetSourceId(Microsoft::VisualStudio::Modeling::Transaction ^ transaction, Guid targetShapeElementId);
public static Guid GetSourceId (Microsoft.VisualStudio.Modeling.Transaction transaction, Guid targetShapeElementId);
static member GetSourceId : Microsoft.VisualStudio.Modeling.Transaction * Guid -> Guid
Public Shared Function GetSourceId (transaction As Transaction, targetShapeElementId As Guid) As Guid
Parameters
- transaction
- Transaction
The transaction to check for the drop target context.
- targetShapeElementId
- Guid
The Guid of the target ShapeElement.
Returns
The source ShapeElement Guid corresponding to the given target ShapeElement Guid.