Share via


SPProviderHierarchyElement.GetChild method

Gets the child node specified by the String identifier.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetChild ( _
    identifier As String _
) As SPProviderHierarchyNode
'Usage
Dim instance As SPProviderHierarchyElement
Dim identifier As String
Dim returnValue As SPProviderHierarchyNode

returnValue = instance.GetChild(identifier)
public SPProviderHierarchyNode GetChild(
    string identifier
)

Parameters

  • identifier
    Type: System.String

    The identifier associated with the child objects to retrieve from the dictionary.

Return value

Type: Microsoft.SharePoint.WebControls.SPProviderHierarchyNode
The SPProviderHierarchyNode associated with the identifier.

Exceptions

Exception Condition
ArgumentNullException

Identifier is a null reference (Nothing in Visual Basic).

Remarks

The identifier associated with the child objects in the dictionary must not be a null reference (Nothing in Visual Basic).

See also

Reference

SPProviderHierarchyElement class

SPProviderHierarchyElement members

Microsoft.SharePoint.WebControls namespace