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
count
Type: System.Int32The number of nodes to create.
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
- 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