# OfficeHtmlSemanticEnvelopeInfo

Describes semantic-envelope presence and compatibility.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OfficeHtmlSemanticEnvelope.cs:194](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L194)

**Modifiers**

sealed

Describes semantic-envelope presence and compatibility.

## Inheritance

- object
- OfficeHtmlSemanticEnvelopeInfo

## Usage

Explore 1 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 1

- Method [OfficeHtmlSemanticEnvelope.Inspect](/api/html/officeimo-html-officehtmlsemanticenvelope/#method-inspect-officeimo-html-dom-htmldocument-string)

Filter members 

Show inherited

## Methods

`public bool CanRestoreTargetSpecific(HtmlInputTrust trust)` [#](#method-canrestoretargetspecific-officeimo-html-htmlinputtrust)

[OfficeHtmlSemanticEnvelope.cs:194](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L194)

Whether target-specific restoration is allowed at the caller-assigned trust boundary.

Parameters

**trust OfficeIMO.Html.HtmlInputTrust required**

Returns

`bool`

## 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 bool IsPresent { get; }` [#](#property-ispresent)

[OfficeHtmlSemanticEnvelope.cs:160](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L160)

Whether a canonical OfficeIMO root envelope was present.

`public bool IsLegacy { get; }` [#](#property-islegacy)

[OfficeHtmlSemanticEnvelope.cs:163](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L163)

Whether the input predates explicit schema versioning.

`public bool IsSupported { get; }` [#](#property-issupported)

[OfficeHtmlSemanticEnvelope.cs:166](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L166)

Whether the source and schema version are supported by the requested adapter.

`public bool SourceMatches { get; }` [#](#property-sourcematches)

[OfficeHtmlSemanticEnvelope.cs:169](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L169)

Whether the envelope source matches the requested adapter.

`public string ExpectedSource { get; }` [#](#property-expectedsource)

[OfficeHtmlSemanticEnvelope.cs:172](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L172)

Source identifier expected by the requested adapter.

`public string ActualSource { get; }` [#](#property-actualsource)

[OfficeHtmlSemanticEnvelope.cs:175](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L175)

Source identifier declared by the envelope.

`public string SchemaVersion { get; }` [#](#property-schemaversion)

[OfficeHtmlSemanticEnvelope.cs:178](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L178)

Declared schema version, or an empty string for legacy input.

`public string RestorationMode { get; }` [#](#property-restorationmode)

[OfficeHtmlSemanticEnvelope.cs:181](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L181)

Declared restoration mode. Version 1 and legacy envelopes return an empty value.

`public string PublicSemantics { get; }` [#](#property-publicsemantics)

[OfficeHtmlSemanticEnvelope.cs:184](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L184)

Declared public-semantics validation marker. Version 1 and legacy envelopes return an empty value.

`public bool RequiresTrustedRestoration { get; }` [#](#property-requirestrustedrestoration)

[OfficeHtmlSemanticEnvelope.cs:188](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlSemanticEnvelope.cs#L188)

Whether target-specific restoration requires caller-trusted input.

<!-- PowerForge markdown artifact sha256:88C5D59AF27111EC286B51AE3E3C05A24A218687D072B5B378892F125B14C715 -->
