NodeTypes enumeration

Represents the various node types in Microsoft SharePoint Foundation.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

public enum NodeTypes

Member nameDescription
NoneSpecifies no node types.
AreaSpecifies any type of SPWeb site.
PageSpecifies a List item in the Pages list.
ListSpecifies a Microsoft SharePoint Foundation list (SPList).
ListItemSpecifies a Microsoft SharePoint Foundation list item (SPListItem).
PageLayoutSpecifies a CMS Page Layout.
HeadingSpecifies a navigation heading.
AuthoredLinkToPageSpecifies an authored link that references a page.
AuthoredLinkToWebSpecifies an authored link that references a Web site or area.
AuthoredLinkPlainSpecifies a generic authored link.
CustomSpecifies a custom node type that may be useful for extensibility purposes.
ErrorRepresents an error specific to node types.
AuthoredLinkSpecifies any type of authored link.
DefaultSpecifies a combination of Area, Page, Heading and AuthoredLink. Navigation uses this value to determine which node types to return by default.
AllSpecifies all node types, including Area, Page, List, ListItem, PageLayout, Heading, AuthoredLink, and Custom.