Condividi tramite


IncrementalSearchResult Struct

Definition

Consolidates the result of an incremental search operation.

public value class IncrementalSearchResult
struct IncrementalSearchResult
public struct IncrementalSearchResult
type IncrementalSearchResult = struct
Public Structure IncrementalSearchResult
Inheritance
IncrementalSearchResult

Remarks

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.

Constructors

IncrementalSearchResult(Boolean, Boolean, Boolean, Boolean)

Initializes a new instance of IncrementalSearchResult with the specified properties.

Properties

PassedEndOfBuffer

Determines whether the search wrapped around the end of the buffer to its beginning.

PassedStartOfBuffer

Determines whether the search wrapped around the start of the buffer to its end.

PassedStartOfSearch

Determines whether the search passed the first item found.

ResultFound

Determines whether the search for the term was successful.

Methods

Equals(Object)

Determines whether the contents of two IncrementalSearchResult objects are the same.

GetHashCode()

Gets the hash code for the object.

Operators

Equality(IncrementalSearchResult, IncrementalSearchResult)

Determines whether the contents of two IncrementalSearchResult objects are the same.

Inequality(IncrementalSearchResult, IncrementalSearchResult)

Determines whether the contents of two IncrementalSearchResult objects are different.

Applies to