SPContext Methods

Include Protected Members
Include Inherited Members

The SPContext type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member GetContext(HttpContext) Returns the Microsoft SharePoint Foundation context for the specified HTTP context.
Public methodStatic member GetContext(SPWeb) Returns the Microsoft SharePoint Foundation context for the specified Microsoft SharePoint Foundation Web site.
Public methodStatic member GetContext(HttpContext, SPItem, SPWeb) Returns the Microsoft SharePoint Foundation context for an item using the specified HTTP context, item, and Web site.
Public methodStatic member GetContext(HttpContext, Int32, Type) Returns the Microsoft SharePoint Foundation context for an item using the specified HTTP context, item ID, and item type.
Public methodStatic member GetContext(HttpContext, Guid, Guid, SPWeb) Returns the Microsoft SharePoint Foundation context for a view.
Public methodStatic member GetContext(HttpContext, Int32, Guid, SPWeb) Returns the Microsoft SharePoint Foundation context for a list item.
Public methodStatic member GetContext(HttpContext, String, Guid, SPWeb) Returns the Microsoft SharePoint Foundation context for an item using the specified item ID, list ID, and Web site.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValueFromPageData Retrieves a field value from the page data.
Protected method MemberwiseClone (Inherited from Object.)
Public method ResetItem Forces a retrieval of the data that is associated with the SPItem object, even if the data was retrieved earlier.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPContext Class

Microsoft.SharePoint Namespace