SPContext Class

Definition

Represents the context of an HTTP request in Microsoft SharePoint Foundation.

public ref class SPContext sealed
[Microsoft.SharePoint.Client.ClientCallableType(Internal=true, Name="RequestContext", ServerTypeId="{3747ADCD-A3C3-41b9-BFAB-4A64DD2F1E0A}")]
public sealed class SPContext
type SPContext = class
Public NotInheritable Class SPContext
Inheritance
SPContext
Attributes

Properties

ContentTypeSetInQueryString
ContextPageInfo
Current
FieldControlCacheGetCallback
FieldControlCacheSetCallback
Fields
File
FileLevel
FormContext
HasDesignTimeContentType
IsDesignTime
IsPopUI
IsRemoteAuthoringTime
Item
ItemId
ItemIdAsString
List
ListId
ListItem
ListItemDisplayName
ListItemServerRelativeUrl
ListItemVersion
LoadContentTypes
MobileContext
RecurrenceID
RegionalSettings
RenderingFromCurrentMetainfo
RootFolderUrl
Site
SiteFeatures
SiteSubscription
UseDefaultCachePolicy
ViewContext
Web
WebFeatures

Methods

CacheWeb(String, SPWeb)
ClearCachedWeb(String)
GetCachedWeb(String)
GetContext(HttpContext)
GetContext(HttpContext, Guid, Guid, SPWeb)
GetContext(HttpContext, Int32, Guid, SPWeb)
GetContext(HttpContext, Int32, Type)
GetContext(HttpContext, SPItem, SPWeb)
GetContext(HttpContext, String, Guid, SPWeb)
GetContext(SPWeb)
GetValueFromPageData(String, Object)
ResetItem()
SetDesignTimeOnContext()
UpdateAfterUrlRewrite()

Applies to