IVsDataViewHierarchy.CreateNewItem Method
Creates a new node 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 CreateNewItem As Integer
int CreateNewItem()
int CreateNewItem()
abstract CreateNewItem : unit -> int
function CreateNewItem() : int
Return Value
Type: System.Int32
The item ID of the newly created node.
Remarks
This method delegates to the CreateNewItems method. It passes 1 for the argument and extracts the first element from the returned array as the return value.
.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