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
'宣言
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.