ITextSearchNavigator::SearchSpan Property

 

Gets or sets the range of text to search.

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

property ITrackingSpan^ SearchSpan {
	ITrackingSpan^ get();
	void set(ITrackingSpan^ value);
}

Property Value

Type: Microsoft.VisualStudio.Text::ITrackingSpan^

Returns the range of text to search.

If the span is null, then the entire document will be searched. Otherwise, only matches that are contained in the provided span are returned.

Return to top
Show: