Share via


IDSRefConsumer.GetFirstChildNode Method

Retrieves the identifier of the first child node in the parent's vector of children for a specified parent node.

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

Syntax

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

Parameters

  • drnidCurr
    Type: System.IntPtr

    [in] DSREFNODEID of the parent node for which the first child 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 idParent;
DSREFNODEID idCur;
m_srpCurrentDSRef->GetFirstChildNode(idParent, &idCur);

.NET Framework Security

See Also

Reference

IDSRefConsumer Interface

Microsoft.VisualStudio.Data.Interop Namespace