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
count
Type: System.Int32The number of nodes to create.
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
- 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.
See Also
Reference
IVsDataViewHierarchy Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace