ITextSearchNavigator.CurrentResult Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the SnapshotSpan corresponding to the result of the last find operation. If no matches were found or if no search has been performed yet, null is returned.
public:
property Nullable<Microsoft::VisualStudio::Text::SnapshotSpan> CurrentResult { Nullable<Microsoft::VisualStudio::Text::SnapshotSpan> get(); };
public Microsoft.VisualStudio.Text.SnapshotSpan? CurrentResult { get; }
member this.CurrentResult : Nullable<Microsoft.VisualStudio.Text.SnapshotSpan>
Public ReadOnly Property CurrentResult As Nullable(Of SnapshotSpan)
Property Value
Returns the result of the last find operation. If no matches were found or if no search was performed, returns null.
Remarks
If CurrentResult is not null, then the next find operation will search from either endpoint of the current result depending on the search direction.