UnplacedShapesContext.GetUnplacedShapesMap Method
Gets the unplaced shpapes collection from the specified transaction.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
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.Transaction
The transaction to check for the unplaced shapes context.
- targetDiagramId
Type: System.Guid
The 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.