IncrementalSearchResult Structure

Consolidates the result of an incremental search operation.

Namespace:  Microsoft.VisualStudio.Text.IncrementalSearch
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public struct IncrementalSearchResult

The IncrementalSearchResult type exposes the following members.

  NameDescription
Public methodIncrementalSearchResultInitializes a new instance of IncrementalSearchResult with the specified properties.
Top

  NameDescription
Public propertyPassedEndOfBufferDetermines whether the search wrapped around the end of the buffer to its beginning.
Public propertyPassedStartOfBufferDetermines whether the search wrapped around the start of the buffer to its end.
Public propertyPassedStartOfSearchDetermines whether the search passed the first item found.
Public propertyResultFoundDetermines whether the search for the term was successful.
Top

  NameDescription
Public methodEqualsDetermines whether the contents of two IncrementalSearchResult objects are the same. (Overrides ValueType.Equals(Object).)
Public methodGetHashCodeGets the hash code for the object. (Overrides ValueType.GetHashCode.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether the contents of two IncrementalSearchResult objects are the same.
Public operatorStatic memberInequalityDetermines whether the contents of two IncrementalSearchResult objects are different.
Top

This result indicates whether the item was found, whether the search caused the cursor to wrap around the beginning or end of the buffer, and the position of the first result.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft