ISharePointFile Interface |
Namespace: CMS.SharePoint
public interface ISharePointFile
The ISharePointFile type exposes the following members.
Name | Description | |
---|---|---|
GetContentBytes |
Gets the file's content as an array of bytes.
| |
GetContentStream |
Gets the file's content as a stream.
|
Name | Description | |
---|---|---|
ETag |
File's ETag (entity tag) from SharePoint server.
| |
Extension |
File's extension.
Determined by ServerRelativeUrl.
| |
IsLengthSupported |
Tells you whether Length property is supported.
The support is SharePoint version dependent.
| |
Length |
Length of the file's binary content.
May not be supported by all SharePoint server versions.
| |
MimeType |
File's MIME type.
Determined by ServerRelativeUrl.
| |
Name |
File's name from SharePoint server.
Null if ServerRelativeUrl is null.
| |
ServerRelativeUrl |
Gets SharePoint server relative URL this instance refers to.
| |
TimeCreated |
File's creation time from SharePoint server.
Null if ServerRelativeUrl is null.
| |
TimeLastModified |
File's last modification time from SharePoint server.
Null if ServerRelativeUrl is null.
| |
Title |
File's title from SharePoint server.
Null if ServerRelativeUrl is null.
|