Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

EntityTextSegment

OfficeIMO.Entities

Namespace
OfficeIMO.Entities
Assembly
OfficeIMO.Core
Source revision
273d35d5ba8a with working tree changes
Base
ValueType
Modifiers
sealed

One source segment with optional location and field context.

Inheritance

  • ValueType
  • EntityTextSegment

Usage

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

Accepted by parameters 2

Constructors

public EntityTextSegment(string text, EntitySegmentLocation? location = null, string? label = null, bool structuredSource = false, bool continuesPrevious = false) #

Constructs an input segment. Set structured source for a known typed value.

Parameters

text string required
location OfficeIMO.Entities.EntitySegmentLocation? = null optional
label string? = null optional
structuredSource bool = false optional
continuesPrevious bool = false optional

Properties

public string Text { get; } #

Text to search.

public EntitySegmentLocation? Location { get; } #

Coordinates supplied by the host.

public string? Label { get; } #

Optional field or column label.

public bool StructuredSource { get; } #

Whether the whole segment represents a typed field value.

public bool ContinuesPrevious { get; } #

Joins this segment to the previous segment without inserting characters.