다음을 통해 공유


SPNavigationNode.Children Property

Gets child nodes of the navigation node as an SPNavigationNodeCollection object.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
Public ReadOnly Property Children As SPNavigationNodeCollection
    Get
'Usage
Dim instance As SPNavigationNode
Dim value As SPNavigationNodeCollection

value = instance.Children
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
public SPNavigationNodeCollection Children { get; }

Property Value

Type: Microsoft.SharePoint.Navigation.SPNavigationNodeCollection
A collection of child nodes. If the current node has no children, the property returns a null reference (Nothing in Visual Basic).

See Also

Reference

SPNavigationNode Class

SPNavigationNode Members

Microsoft.SharePoint.Navigation Namespace

Microsoft.SharePoint.Navigation.SPNavigationNodeCollection