ElementOperations.AddElementGroupFormat 方法

包括受保护的成员
包括继承的成员

重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。

重载列表

  名称 说明
受保护的方法 AddElementGroupFormat(IDataObject, ICollection<ModelElement>, ClosureType) 使用 ModelElements,的指定集合添加 ElementGroupPrototype 格式转换为指定的 IDataObject。此方法调用下列 3 个可重写的方法 (按顺序)。CreateElementGroup b。MarkRootElements c。CreateElementGroupPrototype 然后藏起来在数据参数的创建的 ElementGroupPrototype。
受保护的方法 AddElementGroupFormat(IDataObject, ICollection<ModelElement>, ClosureType, Boolean) 使用 ModelElements,的指定集合添加 ElementGroupPrototype 格式转换为指定的 IDataObject。可以从派生类调用强制元素链接要求加载以创建模型元素的集合。

页首

请参见

参考

ElementOperations 类

Microsoft.VisualStudio.Modeling 命名空间