Document Class
Represents the base class for documents added to an index from file system, stream, or structure. Contains static methods for creating documents from different types of sources.
Inheritance Hierarchy
SystemObject
  GroupDocs.Search.CommonDocument

Namespace: GroupDocs.Search.Common
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.11
Syntax
public abstract class Document

The Document type exposes the following members.

Properties
  NameDescription
Public propertyAdditionalFields
Gets or sets the additional fields for the document.
Public propertyAttributes
Gets or sets the attributes of the document.
Public propertyDocumentKey
Gets the document key that is used to identify the document within an index.
Public propertyDocumentSourceKind
Gets the document source kind.
Public propertyExtension
Gets the extension used for this document type.
Public propertyIsLazy
Gets a value indicating whether the document is loaded as needed or not.
Public propertyModificationDate
Gets the last modification date of the document.
Methods
  NameDescription
Public methodStatic memberCreateFromFile
Creates a document from a file.
Public methodStatic memberCreateFromStream
Creates a document from a stream.
Public methodStatic memberCreateFromStructure
Creates a document from a structure that is an array of text fields.
Public methodStatic memberCreateLazy
Creates a lazy-loaded document.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a String that represents the current Document.
(Overrides ObjectToString.)
Remarks
See Also