File Class

Definition

[Microsoft.SharePoint.Client.ScriptType("SP.File", ServerTypeId="{df28be1e-74b5-4b21-b73a-2bbac0a23d8a}")]
public class File : Microsoft.SharePoint.Client.ClientObject
type File = class
    inherit ClientObject
Public Class File
Inherits ClientObject
Inheritance
Attributes

Constructors

File(ClientRuntimeContext, ObjectPath)

Properties

Author
CheckedOutByUser
CheckInComment
CheckOutType
ContentTag
Context (Inherited from ClientObject)
CustomizedPageStatus
EffectiveInformationRightsManagementSettings
ETag
Exists
InformationRightsManagementSettings
IrmEnabled
Length
Level
LinkingUri
LinkingUrl
ListId
ListItemAllFields
LockedByUser
MajorVersion
MinorVersion
ModifiedBy
Name
ObjectData (Inherited from ClientObject)
ObjectVersion (Inherited from ClientObject)
PageRenderType
Path (Inherited from ClientObject)
Properties
ServerObjectIsNull (Inherited from ClientObject)
ServerRelativePath
ServerRelativeUrl
SiteId
Tag (Inherited from ClientObject)
TimeCreated
TimeLastModified
Title
TypedObject (Inherited from ClientObject)
UIVersion
UIVersionLabel
UniqueId
VersionEvents
Versions
WebId

Methods

Approve(String)
CancelUpload(Guid)
CheckIn(String, CheckinType)
CheckOut()
CheckUninitializedProperty(String) (Inherited from ClientObject)
ContinueUpload(Guid, Int64, Stream)
CopyTo(String, Boolean)
CopyToUsingPath(ResourcePath, Boolean)
CustomFromJson(JsonReader) (Inherited from ClientObject)
DeleteObject()
Deny(String)
ExecuteCobaltRequest(Stream)
FinishUpload(Guid, Int64, Stream)
FromJson(JsonReader) (Inherited from ClientObject)
GetContentVerFromTag(ClientRuntimeContext, String)
GetImagePreviewUri(Int32, Int32, String)
GetImagePreviewUrl(Int32, Int32, String)
GetLimitedWebPartManager(PersonalizationScope)
GetPreAuthorizedAccessUrl(Int32)
GetUploadStatus(Guid)
GetWOPIFrameUrl(SPWOPIFrameAction)
InitNonPropertyFieldFromJson(String, JsonReader) (Inherited from ClientObject)
InitOnePropertyFromJson(String, JsonReader)
IsObjectPropertyInstantiated(String) (Inherited from ClientObject)
IsPropertyAvailable(String) (Inherited from ClientObject)
LoadExpandoFields() (Inherited from ClientObject)
MoveTo(String, MoveOperations)
MoveToUsingPath(ResourcePath, MoveOperations)
OpenBinaryStream()
Publish(String)
Recycle()
RecycleWithETag(String)
RefreshLoad() (Inherited from ClientObject)
RemoveFromParentCollection() (Inherited from ClientObject)
Retrieve() (Inherited from ClientObject)
Retrieve(String[]) (Inherited from ClientObject)
SaveBinary(FileSaveBinaryInformation)
StartUpload(Guid, Stream)
UndoCheckOut()
UnPublish(String)
Update()
UpdateClientObjectPropertyType(String, Object, JsonReader) (Inherited from ClientObject)

Applies to