# OneNoteOpaqueProperty

An unsupported property 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:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteOpaqueData.cs#L7)

**Modifiers**

sealed

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

## Inheritance

- object
- OneNoteOpaqueProperty

## Usage

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

- Property [OneNoteBinaryElement.UnknownProperties](/api/onenote/officeimo-onenote-onenotebinaryelement/#property-unknownproperties)
- Property [OneNoteElement.UnknownProperties](/api/onenote/officeimo-onenote-onenoteelement/#property-unknownproperties)
- Property [OneNoteEmbeddedFile.UnknownProperties](/api/onenote/officeimo-onenote-onenoteembeddedfile/#property-unknownproperties)
- Property [OneNoteImage.UnknownProperties](/api/onenote/officeimo-onenote-onenoteimage/#property-unknownproperties)
- Property [OneNoteInk.UnknownProperties](/api/onenote/officeimo-onenote-onenoteink/#property-unknownproperties)
- Property [OneNoteMath.UnknownProperties](/api/onenote/officeimo-onenote-onenotemath/#property-unknownproperties)
- Property [OneNoteMedia.UnknownProperties](/api/onenote/officeimo-onenote-onenotemedia/#property-unknownproperties)
- Property [OneNoteOpaqueObject.Properties](/api/onenote/officeimo-onenote-onenoteopaqueobject/#property-properties)
- Property [OneNoteOutline.UnknownProperties](/api/onenote/officeimo-onenote-onenoteoutline/#property-unknownproperties)
- Property [OneNoteParagraph.UnknownProperties](/api/onenote/officeimo-onenote-onenoteparagraph/#property-unknownproperties)
- Property [OneNoteTable.UnknownProperties](/api/onenote/officeimo-onenote-onenotetable/#property-unknownproperties)
- Property [OneNoteTableCell.UnknownProperties](/api/onenote/officeimo-onenote-onenotetablecell/#property-unknownproperties)
- Property [OneNoteTextRun.UnknownProperties](/api/onenote/officeimo-onenote-onenotetextrun/#property-unknownproperties)

Filter members 

Show inherited

## Constructors

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

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

## Methods

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

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

Returns a defensive copy of the retained encoded data.

Returns

`byte[]`

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

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

Replaces the retained encoded 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 uint PropertyId { get; set; }` [#](#property-propertyid)

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

MS-ONESTORE property identifier.

`public OneNotePropertyValueType ValueType { get; set; }` [#](#property-valuetype)

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

Decoded representation category when known.

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

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

Original ordinal within the property set.

`public bool? BooleanValue { get; set; }` [#](#property-booleanvalue)

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

Inline Boolean value, when this is a Boolean property.

`public ulong? ScalarValue { get; set; }` [#](#property-scalarvalue)

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

Unsigned scalar value, when this is a fixed-width numeric property.

`public IList<OneNoteExtendedGuid> ReferencedIds { get; }` [#](#property-referencedids)

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

Resolved object, object-space, or context references.

<!-- PowerForge markdown artifact sha256:0DABF921A1B9F21D7C2F3D71E972C6DFEEC44000075B85D5E2AFBA8473C2BE6E -->
