Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the unplaced shape context information to the specified transaction for later use.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Shared Sub SetUnplacedShapesContext ( _
transaction As Transaction, _
targetDiagram As Diagram, _
unplacedShapeMap As IDictionary _
)
public static void SetUnplacedShapesContext(
Transaction transaction,
Diagram targetDiagram,
IDictionary unplacedShapeMap
)
public:
static void SetUnplacedShapesContext(
Transaction^ transaction,
Diagram^ targetDiagram,
IDictionary^ unplacedShapeMap
)
static member SetUnplacedShapesContext :
transaction:Transaction *
targetDiagram:Diagram *
unplacedShapeMap:IDictionary -> unit
public static function SetUnplacedShapesContext(
transaction : Transaction,
targetDiagram : Diagram,
unplacedShapeMap : IDictionary
)
Parameters
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
The transaction in which to save the unplaced shape context.
- targetDiagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
The diagram with the unplaced shapes.
- unplacedShapeMap
Type: System.Collections.IDictionary
A collection of shapes that need to be placed. The dictionary maps (unplaced shapes) ShapeElements to a bool which indicates if the unplaced shape was created during view fixup.
.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.