IDSRefProvider.CreateNextSiblingNode Method
Adds another sibling node to a child node.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities.Interop
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function CreateNextSiblingNode ( _
drnidCurr As IntPtr _
) As IntPtr
IntPtr CreateNextSiblingNode(
IntPtr drnidCurr
)
IntPtr CreateNextSiblingNode(
IntPtr drnidCurr
)
abstract CreateNextSiblingNode :
drnidCurr:IntPtr -> IntPtr
function CreateNextSiblingNode(
drnidCurr : IntPtr
) : IntPtr
Parameters
drnidCurr
Type: System.IntPtrThe DSREFNODEID of the child node to which the sibling node is to be added.
Return Value
Type: System.IntPtr
NOERROR if successful; otherwise, an unspecified failure code.
Remarks
The CreateNextSiblingNode method performs a list insertion for child nodes, so the node created will follow the drnidCurr node in the list.
Examples
IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
DSREFNODEID drnidChild;
pIDSRefProvider->CreateNextSiblingNode(drnidChild, &drnid);
.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
Microsoft.VisualStudio.Data.Services.SupportEntities.Interop Namespace