ISharePointFile MembersKentico 8.1 API Reference
The ISharePointFile type exposes the following members.
Methods

  NameDescription
Public methodGetContentBytes
Gets the file's content as an array of bytes.
Public methodGetContentStream
Gets the file's content as a stream.
Back to Top
Properties

  NameDescription
Public propertyETag
File's ETag (entity tag) from SharePoint server.
Public propertyExtension
File's extension. Determined by ServerRelativeUrl.
Public propertyIsLengthSupported
Tells you whether Length property is supported. The support is SharePoint version dependent.
Public propertyLength
Length of the file's binary content. May not be supported by all SharePoint server versions.
Public propertyMimeType
File's MIME type. Determined by ServerRelativeUrl.
Public propertyName
File's name from SharePoint server. Null if ServerRelativeUrl is null.
Public propertyServerRelativeUrl
Gets SharePoint server relative URL this instance refers to.
Public propertyTimeCreated
File's creation time from SharePoint server. Null if ServerRelativeUrl is null.
Public propertyTimeLastModified
File's last modification time from SharePoint server. Null if ServerRelativeUrl is null.
Public propertyTitle
File's title from SharePoint server. Null if ServerRelativeUrl is null.
Back to Top
See Also