DropTargetContext::GetSourceId Method (Transaction^, Guid)

 

Gets the source ShapeElement Guid corresponding to the given target ShapeElement Guid.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
static Guid GetSourceId(
	Transaction^ transaction,
	Guid targetShapeElementId
)

Parameters

transaction
Type: Microsoft.VisualStudio.Modeling::Transaction^

The transaction to check for the drop target context.

targetShapeElementId
Type: System::Guid

The Guid of the target ShapeElement.

Return Value

Type: System::Guid
Return to top
Show: