UnplacedShapesContext.SetUnplacedShapesContext 方法

添加无处实时形状上下文信息到指定的事务供以后使用。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Shared Sub SetUnplacedShapesContext ( _
    transaction As Transaction, _
    targetDiagram As Diagram, _
    unplacedShapeMap As IDictionary _
)
public static void SetUnplacedShapesContext(
    Transaction transaction,
    Diagram targetDiagram,
    IDictionary unplacedShapeMap
)

参数

  • unplacedShapeMap
    类型:System.Collections.IDictionary
    需要将形状的集合。字典映射 (无处实时形状) ShapeElements 到视图 fixup 期间,指示的 bool 无处实时形状是否已创建。

.NET Framework 安全性

请参见

参考

UnplacedShapesContext 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间