# OdfDocumentMetadata

OpenDocument metadata backed by `meta.xml`.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdfDocumentMetadata.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L48)

**Modifiers**

sealed

OpenDocument metadata backed by `meta.xml`.

## Inheritance

- object
- OdfDocumentMetadata

## Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 5

- Property [OdfDocument.Properties](/api/open-document/officeimo-opendocument-odfdocument/#property-properties)
- Property [OdgDocument.Properties](/api/open-document/officeimo-opendocument-odgdocument/#property-properties)
- Property [OdpPresentation.Properties](/api/open-document/officeimo-opendocument-odppresentation/#property-properties)
- Property [OdsDocument.Properties](/api/open-document/officeimo-opendocument-odsdocument/#property-properties)
- Property [OdtDocument.Properties](/api/open-document/officeimo-opendocument-odtdocument/#property-properties)

Filter members 

Show inherited

## Methods

`public string? GetCustomProperty(string name)` [#](#method-getcustomproperty-string)

[OdfDocumentMetadata.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L48)

Gets a custom `meta:user-defined` value.

Parameters

**name string required**

Returns

`string?`

`public void SetCustomProperty(string name, string? value)` [#](#method-setcustomproperty-string-string)

[OdfDocumentMetadata.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L56)

Adds, replaces, or removes a custom metadata value.

Parameters

**name string required**

**value string? required**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string? Title { get; set; }` [#](#property-title)

[OdfDocumentMetadata.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L20)

Document title.

`public string? Subject { get; set; }` [#](#property-subject)

[OdfDocumentMetadata.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L22)

Document subject.

`public string? Description { get; set; }` [#](#property-description)

[OdfDocumentMetadata.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L24)

Document description.

`public string? Creator { get; set; }` [#](#property-creator)

[OdfDocumentMetadata.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L26)

Initial creator.

`public string? LastModifiedBy { get; set; }` [#](#property-lastmodifiedby)

[OdfDocumentMetadata.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L28)

Person who last modified the document.

`public string? Language { get; set; }` [#](#property-language)

[OdfDocumentMetadata.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L30)

Primary document language.

`public string? Generator { get; set; }` [#](#property-generator)

[OdfDocumentMetadata.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L32)

Producer recorded in the package.

`public DateTimeOffset? CreationDate { get; set; }` [#](#property-creationdate)

[OdfDocumentMetadata.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L36)

Creation timestamp.

`public DateTimeOffset? ModifiedDate { get; set; }` [#](#property-modifieddate)

[OdfDocumentMetadata.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfDocumentMetadata.cs#L42)

Last modification timestamp.

<!-- PowerForge markdown artifact sha256:8F34C58D86D2DCD0E097A92DBDED1550E32731B705F52FB1B7F4735DBA1DF5B9 -->
