ISearchResult Interface
Provides the base requirements for a class that stores a single result of a search operation.
public interface ISearchResult : ITextRangeProvider
Properties
Captures
Gets the read-only collection of captures.
ISearchCaptureCollection Captures { get; }
Property Value
- ISearchCaptureCollection:
The read-only collection of captures.
FindSnapshotRange
Gets a TextSnapshotRange that contains the text that was found.
TextSnapshotRange FindSnapshotRange { get; }
Property Value
- TextSnapshotRange:
A TextSnapshotRange that contains the text that was found.
ReplaceSnapshotRange
Gets a TextSnapshotRange that contains the text that was replaced.
TextSnapshotRange ReplaceSnapshotRange { get; }
Property Value
- TextSnapshotRange:
A TextSnapshotRange that contains the text that was replaced.
Remarks
The TextSnapshotRange is marked as deleted if no replace was performed.