Compartir a través de


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)

Syntax

'Declaration
Property SearchSpan As ITrackingSpan
ITrackingSpan SearchSpan { get; set; }
property ITrackingSpan^ SearchSpan {
    ITrackingSpan^ get ();
    void set (ITrackingSpan^ value);
}
abstract SearchSpan : ITrackingSpan with get, set
function get SearchSpan () : ITrackingSpan 
function set SearchSpan (value : ITrackingSpan)

Property Value

Type: Microsoft.VisualStudio.Text.ITrackingSpan
Returns the range of text to search.

Remarks

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

.NET Framework Security

See Also

Reference

ITextSearchNavigator Interface

Microsoft.VisualStudio.Text.Operations Namespace