Partilhar via


SP.PageContextInfo Properties

Applies to: SharePoint Foundation 2010

The following table lists the properties of the SP.PageContextInfo class.

Properties

Name

Description

currentLanguage

Gets the locale identifier (ID) for the current language used on the page.

pageItemId

Gets the ID of the item that is associated with the page context.

pageListId

Gets the ID of the list that is associated with the page context.

webLanguage

Gets the locale identifier (ID) for the default language used on the website.

webServerRelativeUrl

Gets the server-relative URL for the website.

Applies To

SP.PageContextInfo Class

See Also

Reference

SP.PageContextInfo Methods

SP Namespace