UnplacedShapesContext.GetUnplacedShapesMap Method
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)
Syntax
'Declaration
Public Shared Function GetUnplacedShapesMap ( _
transaction As Transaction, _
targetDiagramId As Guid _
) As IDictionary
public static IDictionary GetUnplacedShapesMap(
Transaction transaction,
Guid targetDiagramId
)
public:
static IDictionary^ GetUnplacedShapesMap(
Transaction^ transaction,
Guid targetDiagramId
)
static member GetUnplacedShapesMap :
transaction:Transaction *
targetDiagramId:Guid -> IDictionary
public static function GetUnplacedShapesMap(
transaction : Transaction,
targetDiagramId : Guid
) : IDictionary
Parameters
transaction
Type: Microsoft.VisualStudio.Modeling.TransactionThe transaction to check for the unplaced shapes context.
targetDiagramId
Type: System.GuidThe diagram Id of the unplaced shapes.
Return Value
Type: System.Collections.IDictionary
Remarks
The collection of unplaced shapes returned is the value saved to the specified transaction by an earlier call to the static method SetUnplacedShapesContext.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.