Compartilhar via


ITextSearchNavigator3.CurrentResult Property

Definition

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

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.

Applies to