Compartir a través de


ITextSearchNavigator.SearchSpan Property

Definition

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

public:
 property Microsoft::VisualStudio::Text::ITrackingSpan ^ SearchSpan { Microsoft::VisualStudio::Text::ITrackingSpan ^ get(); void set(Microsoft::VisualStudio::Text::ITrackingSpan ^ value); };
public:
 property Microsoft::VisualStudio::Text::ITrackingSpan ^ SearchSpan { Microsoft::VisualStudio::Text::ITrackingSpan ^ get(); void set(Microsoft::VisualStudio::Text::ITrackingSpan ^ value); };
public Microsoft.VisualStudio.Text.ITrackingSpan SearchSpan { get; set; }
member this.SearchSpan : Microsoft.VisualStudio.Text.ITrackingSpan with get, set
Public Property SearchSpan As ITrackingSpan

Property Value

Returns the range of text to search.

Remarks

If the SearchSpan is null then the entire document will be searched. Otherwise only results that are contained by the provided span will be returned.

Applies to