Udostępnij za pośrednictwem


ITextSearchNavigator3.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 Microsoft.VisualStudio.Text.ITrackingSpan? SearchSpan { get; set; }
member this.SearchSpan : Microsoft.VisualStudio.Text.ITrackingSpan with get, set
Public Property SearchSpan As ITrackingSpan

Property Value

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