OfficeDocumentBase<T>.DocumentId Property

Gets the document's unique identifier.

Namespace: DevExpress.Web.Office.Internal

Assembly: DevExpress.Web.v20.1.dll

Declaration

public string DocumentId { get; }
Public ReadOnly Property DocumentId As String

Property Value

Type Description
String

A string value that is the unique document identifier.

Remarks

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.

Implements

See Also