Share via


IDSRefConsumer.GetNextSiblingNode Method

Retrieves the identifier of the next sibling node of a specified node.

Namespace:  Microsoft.VisualStudio.Data.Interop
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Function GetNextSiblingNode ( _
    drnidCurr As IntPtr _
) As IntPtr
IntPtr GetNextSiblingNode(
    IntPtr drnidCurr
)
IntPtr GetNextSiblingNode(
    [InAttribute] IntPtr drnidCurr
)
abstract GetNextSiblingNode : 
        drnidCurr:IntPtr -> IntPtr
function GetNextSiblingNode(
    drnidCurr : IntPtr
) : IntPtr

Parameters

  • drnidCurr
    Type: System.IntPtr

    [in] DSREFNODEID of the child node of which the sibling node is to be retrieved.

Return Value

Type: System.IntPtr
Returns NOERROR if successful. Otherwise, it returns an unspecified failure code.

Examples

IDSRefConsumer* m_srpCurrentDSRef;
DSREFNODEID idLast;
DSREFNODEID idCur;
m_srpCurrentDSRef->GetNextSiblingNode(idLast, &idCur);

.NET Framework Security

See Also

Reference

IDSRefConsumer Interface

Microsoft.VisualStudio.Data.Interop Namespace