SPProviderHierarchyElement.Children Property

Gets or sets a list of the immediate child elements.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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