| ISharePointFile Interface | 
Namespace: CMS.SharePoint
 Syntax
Syntaxpublic interface ISharePointFile
The ISharePointFile type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | ETag | 
            File's ETag (entity tag) from SharePoint server.
             | 
|  | Extension | 
            File's extension.
            Determined by ServerRelativeUrl.
             | 
|  | 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.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | GetContentBytes | 
            Gets the file's content as an array of bytes.
             | 
|  | GetContentStream | 
            Gets the file's content as a stream.
             | 
 See Also
See Also