# OneNoteOpaqueObject

An unsupported object retained byte-for-byte for diagnostics and round-trip writing.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteOpaqueData.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteOpaqueData.cs#L48)

**Modifiers**

sealed

An unsupported object retained byte-for-byte for diagnostics and round-trip writing.

## Inheritance

- object
- OneNoteOpaqueObject

## 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 [OneNoteNotebook.UnknownObjects](/api/onenote/officeimo-onenote-onenotenotebook/#property-unknownobjects)
- Property [OneNotePage.UnknownObjects](/api/onenote/officeimo-onenote-onenotepage/#property-unknownobjects)
- Property [OneNoteRevision.UnknownObjects](/api/onenote/officeimo-onenote-onenoterevision/#property-unknownobjects)
- Property [OneNoteSection.UnknownObjects](/api/onenote/officeimo-onenote-onenotesection/#property-unknownobjects)
- Property [OneNoteSectionGroup.UnknownObjects](/api/onenote/officeimo-onenote-onenotesectiongroup/#property-unknownobjects)

Filter members 

Show inherited

## Constructors

`public OneNoteOpaqueObject()` [#](#constructor-ctor)

[OneNoteOpaqueData.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteOpaqueData.cs#L48)

## Methods

`public byte[] GetRawData()` [#](#method-getrawdata)

[OneNoteOpaqueData.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteOpaqueData.cs#L73)

Returns a defensive copy of the retained encoded object data.

Returns

`byte[]`

`public void SetRawData(byte[] rawData)` [#](#method-setrawdata-byte)

[OneNoteOpaqueData.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteOpaqueData.cs#L64)

Replaces the retained encoded object data with a defensive copy.

Parameters

**rawData byte[] 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 OneNoteExtendedGuid? Id { get; set; }` [#](#property-id)

[OneNoteOpaqueData.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteOpaqueData.cs#L51)

Object identifier when available. Serialization assigns and retains one for a new opaque object.

`public uint Jcid { get; set; }` [#](#property-jcid)

[OneNoteOpaqueData.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteOpaqueData.cs#L54)

JCID value that identifies the object type.

`public int Ordinal { get; set; }` [#](#property-ordinal)

[OneNoteOpaqueData.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteOpaqueData.cs#L57)

Original ordinal within its object group.

`public IList<OneNoteOpaqueProperty> Properties { get; }` [#](#property-properties)

[OneNoteOpaqueData.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteOpaqueData.cs#L60)

Unsupported properties decoded from the object.

<!-- PowerForge markdown artifact sha256:73D6F737F96ACD1519448686FD3A9B7139AFBC91E02348A9A6B50F6385D54554 -->
