ElementOperations.AddElementGroupFormat 方法

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

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

重载列表 

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

页首

请参阅

参考

ElementOperations 类

Microsoft.VisualStudio.Modeling 命名空间