Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new list item based on the currently selected item. If none is selected, then uses the default type.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Overridable Function CreateNewListItem ( _
domainClassInfo As DomainClassInfo, _
parent As ModelElement _
) As ModelElement
protected virtual ModelElement CreateNewListItem(
DomainClassInfo domainClassInfo,
ModelElement parent
)
protected:
virtual ModelElement^ CreateNewListItem(
DomainClassInfo^ domainClassInfo,
ModelElement^ parent
)
abstract CreateNewListItem :
domainClassInfo:DomainClassInfo *
parent:ModelElement -> ModelElement
override CreateNewListItem :
domainClassInfo:DomainClassInfo *
parent:ModelElement -> ModelElement
protected function CreateNewListItem(
domainClassInfo : DomainClassInfo,
parent : ModelElement
) : ModelElement
Parameters
- domainClassInfo
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
parent
Type: Microsoft.VisualStudio.Modeling.ModelElementParent model element in which the selected Element is embedded.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.