Compartir a través de


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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<ScriptTypeAttribute("SP.File", ServerTypeId := "{df28be1e-74b5-4b21-b73a-2bbac0a23d8a}")> _
Public Class File _
    Inherits ClientObject
'Usage
Dim instance As File
[ScriptTypeAttribute("SP.File", ServerTypeId = "{df28be1e-74b5-4b21-b73a-2bbac0a23d8a}")]
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