PhoenixmlDb.Core
IDocument
A stored document with content and metadata.
#IDocument
Namespace: PhoenixmlDb.Core
A stored document with content and metadata.
#Properties
| Name | Description |
|---|---|
Container
|
Container this document belongs to. |
ContentType
|
Content type (XML or JSON). |
Created
|
When the document was created. |
Id
|
Document identifier. |
Modified
|
When the document was last modified. |
Name
|
Document name (URI-like identifier). |
SizeBytes
|
Document size in bytes. |
#Methods
#GetAllMetadataAsync(Threading.CancellationToken)
Gets all metadata.
#GetContentAsync(Threading.CancellationToken)
Gets the document content as a string.
#GetContentStreamAsync(Threading.CancellationToken)
Gets the document content as a stream.
#GetMetadataAsync(String,Threading.CancellationToken)
Gets a metadata value.
#GetRootNodeAsync(Threading.CancellationToken)
Gets the root node of the document.