Aracılığıyla paylaş


ModelElement.CanMerge Yöntem

Kaynak öğesinde bu öğeye eklenmiş olup olmadığını doğrular.

Ad alanı:  Microsoft.VisualStudio.Modeling
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (Microsoft.VisualStudio.Modeling.Sdk.11.0.dll içinde)

Sözdizimi

'Bildirim
Protected Overridable Function CanMerge ( _
    rootElement As ProtoElementBase, _
    elementGroupPrototype As ElementGroupPrototype _
) As Boolean
protected virtual bool CanMerge(
    ProtoElementBase rootElement,
    ElementGroupPrototype elementGroupPrototype
)

Parametreler

Dönüş Değeri

Tür: System.Boolean
true ProtoElement tarafından temsil edilen kaynak öğesinde bu hedef öğe eklenebilir; Aksi durumda, false.

Notlar

Birleştirmesi uzantıları veya uzantıları birleştirmek için hazırlanmış herhangi bir tamamlayıcı öğeleri kabul

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ModelElement Sınıf

Microsoft.VisualStudio.Modeling Ad Alanı