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

'宣言
Function CreateNewItems ( _
    count As Integer _
) As Integer()
'使用
Dim instance As IVsDataViewHierarchy
Dim count As Integer
Dim returnValue As Integer()

returnValue = instance.CreateNewItems(count)
int[] CreateNewItems(
    int count
)
array<int>^ CreateNewItems(
    int count
)
function CreateNewItems(
    count : int
) : int[]

Parameters

Return Value

Type: []

An array containing the item IDs of the newly created nodes.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The count parameter is less than zero.

Permissions

See Also

Reference

IVsDataViewHierarchy Interface

IVsDataViewHierarchy Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace