Share via


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.IntPtr

    The 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

See Also

Reference

IDSRefProvider Interface

Microsoft.VisualStudio.Data.Services.SupportEntities.Interop Namespace

Other Resources

Data Designer Extensibility (DDEX) SDK