# OfficeTextIntegrityFinding

One exact Unicode text-integrity finding.

Class 

`OfficeIMO.Provenance`

**Namespace**

`OfficeIMO.Provenance`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeTextIntegrity.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L63)

**Modifiers**

sealed

One exact Unicode text-integrity finding.

## Inheritance

- object
- OfficeTextIntegrityFinding

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

- Property [OfficeContentSafetyReport.TextIntegrityFindings](/api/core/officeimo-contentsafety-officecontentsafetyreport/#property-textintegrityfindings)
- Property [OfficeTextIntegrityReport.Findings](/api/core/officeimo-provenance-officetextintegrityreport/#property-findings)

### Accepted by parameters 3

- Constructor [OfficeContentSafetyReport.OfficeContentSafetyReport](/api/core/officeimo-contentsafety-officecontentsafetyreport/#constructor-ctor-string-collections-generic-ireadonlylist-officeimo-contentsafety-officecontentsafetyfinding-collections-generic-ireadonlylist-officeimo-provenance-officetextintegrityfinding-collections-generic-ireadonlylist-system-string) parameter `textIntegrityFindings`
- Method [OfficeTextIntegrityCleaner.RemoveSelected](/api/core/officeimo-provenance-officetextintegritycleaner/#method-removeselected-string-collections-generic-ienumerable-officeimo-provenance-officetextintegrityfinding) parameter `findings`
- Constructor [OfficeTextIntegrityReport.OfficeTextIntegrityReport](/api/core/officeimo-provenance-officetextintegrityreport/#constructor-ctor-collections-generic-ireadonlylist-officeimo-provenance-officetextintegrityfinding) parameter `findings`

Filter members 

Show inherited

## Constructors

`public OfficeTextIntegrityFinding(OfficeTextIntegrityFindingKind kind, OfficeTextIntegrityRisk risk, int textOffset, int textLength, int codePoint, string location = "Text")` [#](#constructor-ctor-officeimo-provenance-officetextintegrityfindingkind-officeimo-provenance-officetextintegrityrisk-int32-int32-int32-string)

[OfficeTextIntegrity.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L63)

Creates a text-integrity finding.

Parameters

**kind OfficeIMO.Provenance.OfficeTextIntegrityFindingKind required**

**risk OfficeIMO.Provenance.OfficeTextIntegrityRisk required**

**textOffset int required**

**textLength int required**

**codePoint int required**

**location string = "Text" optional**

## 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 OfficeTextIntegrityFindingKind Kind { get; }` [#](#property-kind)

[OfficeTextIntegrity.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L84)

Gets the classified code-point kind.

`public OfficeTextIntegrityRisk Risk { get; }` [#](#property-risk)

[OfficeTextIntegrity.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L86)

Gets the interpretation risk.

`public int TextOffset { get; }` [#](#property-textoffset)

[OfficeTextIntegrity.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L88)

Gets the zero-based UTF-16 offset.

`public int TextLength { get; }` [#](#property-textlength)

[OfficeTextIntegrity.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L90)

Gets the number of UTF-16 code units occupied by the finding.

`public int CodePoint { get; }` [#](#property-codepoint)

[OfficeTextIntegrity.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L92)

Gets the Unicode scalar value, or the unmatched surrogate value.

`public string Location { get; }` [#](#property-location)

[OfficeTextIntegrity.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L94)

Gets the logical text location supplied by the inspector or adapter.

`public string UnicodeNotation { get; }` [#](#property-unicodenotation)

[OfficeTextIntegrity.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L96)

Gets the conventional uppercase Unicode notation.

<!-- PowerForge markdown artifact sha256:D0E5BB7ABFCE4F54F88BD96DCE5ADC3F5AC4C92C89467123ABAEA32E041F9397 -->
