Share via


SPProviderHierarchyElement.Children property

Gets or sets a list of the immediate child elements.

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

Syntax

'Declaration
<DataMemberAttribute(Name := "Ch")> _
Public Property Children As SPProviderHierarchyNode()
    Get
    Set
'Usage
Dim instance As SPProviderHierarchyElement
Dim value As SPProviderHierarchyNode()

value = instance.Children

instance.Children = value
[DataMemberAttribute(Name = "Ch")]
public SPProviderHierarchyNode[] Children { get; set; }

Property value

Type: []
An SPProviderHierarchyNode object containing a list of the immediate child elements.

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

The value passed in this parameter for the dictionary should not be a null reference (Nothing in Visual Basic).

See also

Reference

SPProviderHierarchyElement class

SPProviderHierarchyElement members

Microsoft.SharePoint.WebControls namespace