ElementListCompartment.CreateNewListItem Yöntem

Tanım

Şu anda seçili olan öğeyi temel alan yeni bir liste öğesi oluşturur. Hiçbiri seçili değilse, varsayılan türü kullanır.

protected:
 virtual Microsoft::VisualStudio::Modeling::ModelElement ^ CreateNewListItem(Microsoft::VisualStudio::Modeling::DomainClassInfo ^ domainClassInfo, Microsoft::VisualStudio::Modeling::ModelElement ^ parent);
protected virtual Microsoft.VisualStudio.Modeling.ModelElement CreateNewListItem (Microsoft.VisualStudio.Modeling.DomainClassInfo domainClassInfo, Microsoft.VisualStudio.Modeling.ModelElement parent);
abstract member CreateNewListItem : Microsoft.VisualStudio.Modeling.DomainClassInfo * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.ModelElement
override this.CreateNewListItem : Microsoft.VisualStudio.Modeling.DomainClassInfo * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.ModelElement
Protected Overridable Function CreateNewListItem (domainClassInfo As DomainClassInfo, parent As ModelElement) As ModelElement

Parametreler

domainClassInfo
DomainClassInfo
parent
ModelElement

Seçili öğenin katıştırılmış olduğu üst model öğesi.

Döndürülenler

ModelElement

Şunlara uygulanır