ElementGroupPrototype.CanCreateElementGroup 方法 (Partition, IElementPartitionMapper)

這個原型項目群組可以在指定的磁碟分割建立祖項目群組的複本嗎?

命名空間:  Microsoft.VisualStudio.Modeling
組件:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

語法

'宣告
Public Function CanCreateElementGroup ( _
    partition As Partition, _
    partitionMapper As IElementPartitionMapper _
) As Boolean
public bool CanCreateElementGroup(
    Partition partition,
    IElementPartitionMapper partitionMapper
)

參數

傳回值

型別:System.Boolean
是否可以建立複製品

備註

這是兩個組件檢查: (1) 是輸入的存放區版本相同或晚於祖儲存的版本 (2) 網域的所有類別建立所都需的項目和 ElementLinks 的存放區中

.NET Framework 安全性

請參閱

參考

ElementGroupPrototype 類別

CanCreateElementGroup 多載

Microsoft.VisualStudio.Modeling 命名空間