Skip to main content

OfficeDocumentBase<T>.DocumentId Property

Gets the document’s unique identifier.

Namespace: DevExpress.Web.Office.Internal

Assembly: DevExpress.Web.v22.1.dll

NuGet Package: DevExpress.Web


public string DocumentId { get; }

Property Value

Type Description

A string value that is the unique document identifier.


When a document is opened from a specific file path, the file path is automatically assigned to the DocumentId property.

If you provide custom logic for opening documents (from a database, for instance), you need to manually specify document identifiers using the DocumentId property of opened documents.

The DocumentId property’s value is used as a parameter of the server Document Manager’s DocumentManager.FindDocument method.


See Also