Condividi tramite


SPContext.ContextPageInfo Property

Gets the information about the current list item for the current request (if there is one). For example, information could include the item ID, if it is a welcome page, or the base permissions of the object.

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

Syntax

'Declaration
Public Property ContextPageInfo As SPContextPageInfo
    Get
    Friend Set
'Usage
Dim instance As SPContext
Dim value As SPContextPageInfo

value = instance.ContextPageInfo
public SPContextPageInfo ContextPageInfo { get; internal set; }

Property Value

Type: Microsoft.SharePoint.SPContextPageInfo
Returns a SPContextPageInfo object.

See Also

Reference

SPContext Class

SPContext Members

Microsoft.SharePoint Namespace