ClientContext class
SharePoint Online
Represents the context for SharePoint objects and operations.
System.Object
Microsoft.SharePoint.Client.ClientRuntimeContext
Microsoft.SharePoint.Client.ClientContext
Microsoft.ProjectServer.Client.ProjectContext
Microsoft.SharePoint.Client.ClientRuntimeContext
Microsoft.SharePoint.Client.ClientContext
Microsoft.ProjectServer.Client.ProjectContext
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Use the ClientContext class to return context information about such objects as the current web application, site, site collection, or server version. The Document library templates sample app for SharePoint includes an example of how to use this object.
Show: