Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordSearchResult

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

Result of WordDocument.Find and WordDocument.Find: the paragraphs containing matches, grouped by document part, and the total match count.

Inheritance

  • object
  • WordSearchResult

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

Properties

public IReadOnlyList<WordRange> Ranges { get; } #

Every match as an editable WordRange, in document order. The ranges are located when this property is first read.

public int MatchCount { get; internal set; } #

Gets the total number of matches.

public IReadOnlyList<WordParagraph> Paragraphs { get; } #

Every paragraph containing one or more matches, in the order of the body, table, header, footer, footnote, and endnote lists.

public IReadOnlyList<WordParagraph> BodyParagraphs { get; } #

Body paragraphs containing one or more matches.

public IReadOnlyList<WordParagraph> TableParagraphs { get; } #

Table-cell paragraphs containing one or more matches.

public IReadOnlyList<WordParagraph> DefaultHeaderParagraphs { get; } #

Default-header paragraphs containing one or more matches.

public IReadOnlyList<WordParagraph> EvenPageHeaderParagraphs { get; } #

Even-page-header paragraphs containing one or more matches.

public IReadOnlyList<WordParagraph> FirstPageHeaderParagraphs { get; } #

First-page-header paragraphs containing one or more matches.

public IReadOnlyList<WordParagraph> DefaultFooterParagraphs { get; } #

Default-footer paragraphs containing one or more matches.

public IReadOnlyList<WordParagraph> EvenPageFooterParagraphs { get; } #

Even-page-footer paragraphs containing one or more matches.

public IReadOnlyList<WordParagraph> FirstPageFooterParagraphs { get; } #

First-page-footer paragraphs containing one or more matches.

public IReadOnlyList<WordParagraph> FootnoteParagraphs { get; } #

Ordinary footnote paragraphs containing one or more matches from a document-level search.

public IReadOnlyList<WordParagraph> EndnoteParagraphs { get; } #

Ordinary endnote paragraphs containing one or more matches from a document-level search.