共用方式為


UnplacedShapesContext.SetUnplacedShapesContext Method

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

'宣告
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

  • 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

See Also

Reference

UnplacedShapesContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace