# WordIndexConcordanceEntry

Describes one Word index concordance mapping from document text to an index entry.

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`07c6bff0a794` with working tree changes

**Source**

[WordIndexConcordanceEntry.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.Word/WordIndexConcordanceEntry.cs#L11)

**Modifiers**

sealed

Describes one Word index concordance mapping from document text to an index entry.

## Inheritance

- object
- WordIndexConcordanceEntry

## Usage

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

- Property [WordIndexConcordanceReport.Entries](/api/word/officeimo-word-wordindexconcordancereport/#property-entries)

### Accepted by parameters 1

- Method [WordDocument.MarkIndexEntries](/api/word/officeimo-word-worddocument/#method-markindexentries-collections-generic-ienumerable-officeimo-word-wordindexconcordanceentry-boolean-boolean) parameter `entries`

Filter members 

Show inherited

## Constructors

`public WordIndexConcordanceEntry(string searchText, string indexText)` [#](#constructor-ctor-string-string)

[WordIndexConcordanceEntry.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.Word/WordIndexConcordanceEntry.cs#L11)

Creates a concordance mapping.

Parameters

**searchText string required**

Text to find in the target document.

**indexText string required**

Index entry text to write into an XE field. Use colons for subentries, for example Policy:Alpha.

## 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 string SearchText { get; }` [#](#property-searchtext)

[WordIndexConcordanceEntry.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.Word/WordIndexConcordanceEntry.cs#L21)

Gets the text to find in the target document.

`public string IndexText { get; }` [#](#property-indextext)

[WordIndexConcordanceEntry.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/07c6bff0a79428344663938dd8a3f4e85ca513a2/OfficeIMO.Word/WordIndexConcordanceEntry.cs#L24)

Gets the index entry text written into the hidden XE field.

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