次の方法で共有


ITextSearchService Interface

Searches a ITextSnapshot with different search options.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'宣言
Public Interface ITextSearchService
public interface ITextSearchService
public interface class ITextSearchService
type ITextSearchService =  interface end
public interface ITextSearchService

The ITextSearchService type exposes the following members.

Methods

  Name Description
Public method FindAll Searches for all the occurrences of the search string.
Public method FindNext Searches for the next occurrence of the search string.

Top

Remarks

This is a MEF component part, and should be imported as follows:

[Import] ITextSearchService textSearch = null;

See Also

Reference

Microsoft.VisualStudio.Text.Operations Namespace