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.IntPtrThe 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
- 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.Services.SupportEntities.Interop Namespace