This documentation is archived and is not being maintained.

SPContext Methods

Windows SharePoint Services 3

The SPContext type exposes the following members.

  NameDescription
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Static member GetContext(HttpContext) Returns the Windows SharePoint Services context for the specified HTTP context.
Public method Static member GetContext(SPWeb) Returns the Windows SharePoint Services context for the specified SharePoint Web site.
Public method Static member GetContext(HttpContext, SPItem, SPWeb) Returns the Windows SharePoint Services context for an item that is not list-based using the specified HTTP context, item, and site.
Public method Static member GetContext(HttpContext, Int32, Type) Returns the Windows SharePoint Services context for an item that is not list-based using the specified HTTP context, item ID, and item type.
Public method Static member GetContext(HttpContext, Guid, Guid, SPWeb) Returns the Windows SharePoint Services context for an item that is not list-based using the specified HTTP context, view ID, list ID, and Web site.
Public method Static member GetContext(HttpContext, Int32, Guid, SPWeb) Returns the Windows SharePoint Services context for an item that is not list-based using the specified HTTP context, item ID, list ID, and Web site.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ResetItem Forces a re-fetch of SPItem data cached by the SPContext object.
Public method ToString (Inherited from Object.)
Top
Show: