ElementOperations.CanAddElementGroupFormat 方法

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

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.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;否则为 false。

.NET Framework 安全性

请参阅

参考

ElementOperations 类

Microsoft.VisualStudio.Modeling 命名空间