File class

Represents a file in a SharePoint Web site that can be a Web Part Page, an item in a document library, or a file in a folder.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.File

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Class File _
    Inherits ClientObject
'Usage
Dim instance As File
public class File : ClientObject

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

File members

Microsoft.SharePoint.Client namespace