IDSRefProvider.CreateNextSiblingNode Method
Creates another sibling node to a child node.
Namespace: Microsoft.VisualStudio.Data.Interop
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Function CreateNextSiblingNode ( _
drnidCurr As IntPtr _
) As IntPtr
IntPtr CreateNextSiblingNode(
IntPtr drnidCurr
)
IntPtr CreateNextSiblingNode(
[InAttribute] IntPtr drnidCurr
)
abstract CreateNextSiblingNode :
drnidCurr:IntPtr -> IntPtr
function CreateNextSiblingNode(
drnidCurr : IntPtr
) : IntPtr
Parameters
drnidCurr
Type: System.IntPtr[in] DSREFNODEID of the child node to which the sibling node is to be created.
Return Value
Type: System.IntPtr
Returns NOERROR if successful. Otherwise, it returns 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.Interop Namespace