UnplacedShapesContext::GetUnplacedShapesMap Method (Transaction^, Guid)

 

Gets the unplaced shpapes collection from the specified transaction.

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

public:
static IDictionary^ GetUnplacedShapesMap(
	Transaction^ transaction,
	Guid targetDiagramId
)

Parameters

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

The transaction to check for the unplaced shapes context.

targetDiagramId
Type: System::Guid

The diagram Id of the unplaced shapes.

The collection of unplaced shapes returned is the value saved to the specified transaction by an earlier call to the static method SetUnplacedShapesContext.

Return to top
Show: