Skip to main content
A newer version of this page is available. .

OfficeDocumentBase<T> Members

Contains the base settings that are common for RichEdit and Spreadsheet documents opened on the server and provides the means to operate the document (close or save a copy).

Constructors

Name Description
OfficeDocumentBase(T) Initializes new instance of the OfficeDocumentBase<T> class with the specified settings.

Properties

Name Description
DocumentId Gets the document’s unique identifier.
LastAccessTime Gets the last access time for the document.
LastModifyTime Gets the last modify time for the document.
Modified Gets a value indicating whether the current document was modified after it was opened.

Methods

Name Description
Close() Closes the document.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SaveCopy() Saves a document copy to a byte array.
SaveCopy(Stream) Saves a document copy to the specified stream.
SaveCopy(String) Saves a document copy to the specified path.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also