Compartir a través de


IVsDataViewHierarchy.CreateNewItems Method

Creates the specified number of new nodes in the data view hierarchy.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function CreateNewItems ( _
    count As Integer _
) As Integer()
int[] CreateNewItems(
    int count
)
array<int>^ CreateNewItems(
    int count
)
abstract CreateNewItems : 
        count:int -> int[] 
function CreateNewItems(
    count : int
) : int[]

Parameters

Return Value

Type: array<System.Int32[]
An array containing the item IDs of the newly created nodes.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The count parameter is less than zero.

.NET Framework Security

See Also

Reference

IVsDataViewHierarchy Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace