# EntityMatchPart

The portion of a match written in one source segment.

Struct 

`OfficeIMO.Entities`

**Namespace**

`OfficeIMO.Entities`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[EntityMatchPart.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMatchPart.cs#L12)

**Base**

`ValueType`

**Modifiers**

sealed

The portion of a match written in one source segment.

## Inheritance

- ValueType
- EntityMatchPart

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

- Property [EntityMatch.Parts](/api/core/officeimo-entities-entitymatch/#property-parts)

Filter members 

Show inherited

## Inherited Methods

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from ValueType

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from ValueType

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public override string? ToString()` [#](#method-tostring)

Inherited from ValueType

Returns

`string?`

## Properties

`public int SegmentIndex { get; }` [#](#property-segmentindex)

[EntityMatchPart.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMatchPart.cs#L12)

Zero-based index in the input segments.

`public int Start { get; }` [#](#property-start)

[EntityMatchPart.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMatchPart.cs#L14)

UTF-16 offset in that segment.

`public int Length { get; }` [#](#property-length)

[EntityMatchPart.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityMatchPart.cs#L16)

UTF-16 length in that segment.

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