ElementOperations.CanAddElementGroupFormat 方法

返回一 ModelElement 集合是否的值可用于创建 ElementGroupPrototype 格式。

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

语法

声明
Protected Overridable Function CanAddElementGroupFormat ( _
    elements As ICollection(Of ModelElement), _
    closureType As ClosureType _
) As Boolean
protected virtual bool CanAddElementGroupFormat(
    ICollection<ModelElement> elements,
    ClosureType closureType
)

参数

返回值

类型:System.Boolean
,如果 ModelElement 集合可用于创建 ElementGroupPrototype 格式,则为 true;否则,错误。

.NET Framework 安全性

请参见

参考

ElementOperations 类

Microsoft.VisualStudio.Modeling 命名空间