次の方法で共有


ElementListCompartment.HandleNewListItemInsertion Method

Creates a new list item based on the currently selected item. If none is selected, then uses the default type. Then adds the new item into the Items list and automatically sets it to start editing that item.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣言
Public Overridable Sub HandleNewListItemInsertion ( _
    view As DiagramClientView, _
    selectedDomainClassInfo As DomainClassInfo _
)
public virtual void HandleNewListItemInsertion(
    DiagramClientView view,
    DomainClassInfo selectedDomainClassInfo
)
public:
virtual void HandleNewListItemInsertion(
    DiagramClientView^ view, 
    DomainClassInfo^ selectedDomainClassInfo
)
abstract HandleNewListItemInsertion : 
        view:DiagramClientView * 
        selectedDomainClassInfo:DomainClassInfo -> unit 
override HandleNewListItemInsertion : 
        view:DiagramClientView * 
        selectedDomainClassInfo:DomainClassInfo -> unit 
public function HandleNewListItemInsertion(
    view : DiagramClientView, 
    selectedDomainClassInfo : DomainClassInfo
)

Parameters

.NET Framework Security

See Also

Reference

ElementListCompartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace