次の方法で共有


ITextSearchNavigator3 Interface

Definition

Provides a service to navigate between search results on a ITextBuffer and to perform replacements.

public interface class ITextSearchNavigator3 : IDisposable
public interface ITextSearchNavigator3 : IDisposable
type ITextSearchNavigator3 = interface
    interface IDisposable
Public Interface ITextSearchNavigator3
Implements IDisposable
Implements

Properties

CurrentResult

Returns the SnapshotSpan corresponding to the result of the last find operation. If no matches were found or if no search has been performed yet, null is returned.

ReplaceTerm

The term to replace matches with.

SearchOptions

Sets or gets options used for the search.

SearchSpan

Indicates the range that should be searched (if any).

SearchSpans

Indicates the ranges that should be searched (if any).

SearchTerm

The term to search for.

StartPoint

Indicates the position in CurrentSnapshot at which the search should be started.

Methods

ClearCurrentResult()

Clears the current result.

Find()

Finds the next occurrence of the text matching the SearchTerm.

Replace()

Replaces the current result with ReplaceTerm.

Applies to