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.Services.SupportEntities.Interop
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

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

Parameters

  • drnidCurr
    Type: System.IntPtr

    The DSREFNODEID of the parent node for which the first child node is to be retrieved.

Return Value

Type: System.IntPtr
NOERROR if successful; otherwise, an unspecified failure code.

Examples

C++

IDSRefConsumer* m_srpCurrentDSRef;
DSREFNODEID idParent;
DSREFNODEID idCur;
m_srpCurrentDSRef->GetFirstChildNode(idParent, &idCur);

.NET Framework Security

See Also

Reference

IDSRefConsumer Interface

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