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

'宣言
Function CreateNewItem As Integer
'使用
Dim instance As IVsDataViewHierarchy
Dim returnValue As Integer

returnValue = instance.CreateNewItem()
int CreateNewItem()
int CreateNewItem()
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.

Permissions

See Also

Reference

IVsDataViewHierarchy Interface

IVsDataViewHierarchy Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace