SPProviderHierarchyElement.GetChild Method
Gets the child node specified by the String identifier.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.StringThe 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