SP.File Properties
Applies to: SharePoint Foundation 2010
The following table lists the properties of the SP.File class.
Properties
Name |
Description |
---|---|
Gets a value that specifies the user who added the file. |
|
Gets a value that returns the user who has checked out the file. |
|
Gets a value that returns the comment used when a document is checked in to a document library. |
|
Gets a value that indicates how the file is checked out of a document library. |
|
Gets a value that specifies the customization status of the file. |
|
Gets a value that specifies the ETag value. |
|
Gets a value that specifies whether the file exists. |
|
Gets a value that specifies the publishing level of the file. |
|
Gets a value that specifies the list item field values for the list item corresponding to the file. |
|
Gets a value that returns the user that owns the current lock on the file. |
|
Gets a value that specifies the major version of the file. |
|
Gets a value that specifies the minor version of the file. |
|
Gets a value that returns the user who last modified the file. |
|
Gets the name of the file including the extension. |
|
Gets the relative URL of the file based on the URL for the server. |
|
Gets a value that specifies when the file was created. |
|
Gets a value that specifies when the file was last modified. |
|
Gets a value that specifies the display name of the file. |
|
Gets a value that specifies the implementation-specific version identifier of the file. |
|
Gets a value that specifies the implementation-specific version identifier of the file. |
|
Gets a value that returns a collection of file version objects that represent the versions of the file. |