# OdfValidationResult

Dependency-free structural validation result.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdfValidationResult.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Validation/OdfValidationResult.cs#L10)

**Modifiers**

sealed

Dependency-free structural validation result.

## Inheritance

- object
- OdfValidationResult

## 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

- Method [OdfDocument.Validate](/api/open-document/officeimo-opendocument-odfdocument/#method-validate)
- Method [OdgDocument.Validate](/api/open-document/officeimo-opendocument-odgdocument/#method-validate)
- Method [OdpPresentation.Validate](/api/open-document/officeimo-opendocument-odppresentation/#method-validate)
- Method [OdsDocument.Validate](/api/open-document/officeimo-opendocument-odsdocument/#method-validate)
- Method [OdtDocument.Validate](/api/open-document/officeimo-opendocument-odtdocument/#method-validate)

Filter members 

Show inherited

## 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 IReadOnlyList<OdfDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

[OdfValidationResult.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Validation/OdfValidationResult.cs#L10)

Validation diagnostics.

`public bool IsValid { get; }` [#](#property-isvalid)

[OdfValidationResult.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Validation/OdfValidationResult.cs#L13)

True when validation produced no error diagnostics.

<!-- PowerForge markdown artifact sha256:50A15A10E88F9DEFC22A2A8163D34F3C7EC2F0B8BBFB02C5291CB75D6ABD3D9C -->
