Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

OfficeTextHighlight

OfficeIMO.TextAnalysis

Namespace
OfficeIMO.TextAnalysis
Assembly
OfficeIMO.Core
Source revision
ac7e6e1bad8a with working tree changes
Base
ValueType
Modifiers
sealed

One matched source range in a field of a hit.

Inheritance

  • ValueType
  • OfficeTextHighlight

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 2

Constructors

public OfficeTextHighlight(string field, int start, int length) #

Creates a highlight.

Parameters

field string required
start int required
length int required

Properties

public string Field { get; } #

Field name.

public int Start { get; } #

Zero-based UTF-16 offset in the field text.

public int Length { get; } #

Length in UTF-16 code units. A phrase covers its first to last word.