ElementListCompartment.CreateNewListItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new list item based on the currently selected item. If none is selected, then uses the default type.
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
Parameters
- domainClassInfo
- DomainClassInfo
- parent
- ModelElement
Parent model element in which the selected Element is embedded.