PageType enumeration

Page Type is a signed 1-byte integer that is used to represent the possible page types.

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

Syntax

'Declaration
Public Enumeration PageType
'Usage
Dim instance As PageType
public enum PageType

Members

Member name Description
Invalid Enumeration whose values specify a page that does not correspond to a list view or a list form. The value = -1.
DefaultView Enumeration whose values specify a page that is the default view for a list. The value = 0.
NormalView Enumeration whose values specify a page that is a list view and is not the default view for a list. The value = 1.
DialogView Enumeration whose values specify a page suitable for display within a dialog box on a client computer. The value = 2.
View Enumeration whose values specify a page that is a list view. The value = 3.
DisplayForm Enumeration whose values specify a list form for displaying a list item. The value = 4.
DisplayFormDialog Enumeration whose values specify a list form for displaying a list item, suitable for display within a dialog box on a client computer. The value = 5.
EditForm Enumeration whose values specify a list form for editing a list item. The value = 6.
EditFormDialog Enumeration whose values specify a list form for editing a list item, suitable for display within a dialog box on a client computer. The value = 7.
NewForm Enumeration whose values specify a list form for creating a new list item. The value = 8.
NewFormDialog Enumeration whose values specify a list form for creating a new list item, suitable for display within a dialog box on a client computer. The value = 9.
SolutionForm Enumeration whose values specify a list form for displaying or editing a list item and represented by a form template (.xsn) file. The value = 10.
PAGE_MAXITEMS Enumeration whose values specify the total number of valid page types. The value = 11.

Remarks

The reserved Page Type values are specified as follows.

Value

Description

-1

Does not correspond to a view or a form of a list.

0

Default view of the corresponding list. This view is displayed whenever this list is viewed without an explicit view being specified.

1

A view of the corresponding list, but not the default view.

2

This value is only used internally within implementation-specific code and is never stored in a database.

3

This value is only used internally within implementation-specific code and is never stored in a database.

4

A display form of a list, suitable for displaying a single list item in read-only mode.

5

This value is only used internally within implementation-specific code and is never stored in a database.

6

An edit form for a list, suitable for presenting UI to update the properties of a list item.

7

Used to represent edit forms of a list suitable for displaying in HTML file dialogs to a client application.

8

A new form for a list, suitable for presenting UI to create a new list item.

9

This value is from a previous implementation and is no longer valid.

10

This value is only used internally within implementation-specific code and is never stored in a database.

See also

Reference

Microsoft.SharePoint.Client namespace