Edit

Share via


SearchValues<T> Class

Definition

Provides an immutable, read-only set of values optimized for efficient searching. Instances are created by Create(ReadOnlySpan<Byte>) or Create(ReadOnlySpan<Char>).

generic <typename T>
 where T : IEquatable<T>public ref class SearchValues
public class SearchValues<T> where T : IEquatable<T>
type SearchValues<'T (requires 'T :> IEquatable<'T>)> = class
Public Class SearchValues(Of T)

Type Parameters

T

The type of the values to search for.

Inheritance
SearchValues<T>

Remarks

SearchValues<T> instances are optimized for situations where the same set of values is frequently used for searching at run time.

Methods

Contains(T)

Searches for the specified value.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to