In This Article

ISearchResult Interface

Provides the base requirements for a class that stores a single result of a search operation.

public interface ISearchResult : ITextRangeProvider

Properties

Captures

The read-only collection of captures.

ISearchCaptureCollection Captures { get; }

Property Value

ISearchCaptureCollection

FindSnapshotRange

A TextSnapshotRange that contains the text that was found.

TextSnapshotRange FindSnapshotRange { get; }

Property Value

TextSnapshotRange

ReplaceSnapshotRange

A TextSnapshotRange that contains the text that was replaced or null if no replace was performed.

TextSnapshotRange? ReplaceSnapshotRange { get; }

Property Value

TextSnapshotRange?

Inherited Members

Extension Methods