Επεξεργασία

Κοινή χρήση μέσω


MemoryExtensions.ContainsAnyExcept Method

Definition

Overloads

ContainsAnyExcept<T>(Span<T>, T, T)

Searches for any value other than value0 or value1.

ContainsAnyExcept<T>(ReadOnlySpan<T>, T, T)

Searches for any value other than value0 or value1.

ContainsAnyExcept<T>(Span<T>, T, T, T)

Searches for any value other than value0, value1, or value2.

ContainsAnyExcept<T>(ReadOnlySpan<T>, T, T, T)

Searches for any value other than value0, value1, or value2.

ContainsAnyExcept<T>(Span<T>, T)

Searches for any value other than the specified value.

ContainsAnyExcept<T>(ReadOnlySpan<T>, T)

Searches for any value other than the specified value.

ContainsAnyExcept<T>(Span<T>, SearchValues<T>)

Searches for any value other than the specified values.

ContainsAnyExcept<T>(ReadOnlySpan<T>, SearchValues<T>)

Searches for any value other than the specified values.

ContainsAnyExcept<T>(Span<T>, ReadOnlySpan<T>)

Searches for any value other than the specified values.

ContainsAnyExcept<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Searches for any value other than the specified values.

ContainsAnyExcept<T>(Span<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than value0 or value1.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(Span<T> span, T value0, T value1);
public static bool ContainsAnyExcept<T> (this Span<T> span, T value0, T value1) where T : IEquatable<T>;
static member ContainsAnyExcept : Span<'T (requires 'T :> IEquatable<'T>)> * 'T * 'T -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As Span(Of T), value0 As T, value1 As T) As Boolean

Type Parameters

T

Parameters

span
Span<T>

The span to search.

value0
T

The value to exclude from the search.

value1
T

The value to exclude from the search.

Returns

true if any value other than value0 or value1 is present in the span. If all of the values are value0 or value1, returns false.

Applies to

ContainsAnyExcept<T>(ReadOnlySpan<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than value0 or value1.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(ReadOnlySpan<T> span, T value0, T value1);
public static bool ContainsAnyExcept<T> (this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>;
static member ContainsAnyExcept : ReadOnlySpan<'T (requires 'T :> IEquatable<'T>)> * 'T * 'T -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As ReadOnlySpan(Of T), value0 As T, value1 As T) As Boolean

Type Parameters

T

Parameters

span
ReadOnlySpan<T>

The span to search.

value0
T

The value to exclude from the search.

value1
T

The value to exclude from the search.

Returns

true if any value other than value0 or value1 is present in the span. If all of the values are value0 or value1, returns false.

Applies to

ContainsAnyExcept<T>(Span<T>, T, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than value0, value1, or value2.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(Span<T> span, T value0, T value1, T value2);
public static bool ContainsAnyExcept<T> (this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>;
static member ContainsAnyExcept : Span<'T (requires 'T :> IEquatable<'T>)> * 'T * 'T * 'T -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As Span(Of T), value0 As T, value1 As T, value2 As T) As Boolean

Type Parameters

T

Parameters

span
Span<T>

The span to search.

value0
T

The value to exclude from the search.

value1
T

The value to exclude from the search.

value2
T

The value to exclude from the search.

Returns

true if any value other than value0, value1, or value2 is present in the span. If all of the values are value0, value1, or value2, returns false.

Applies to

ContainsAnyExcept<T>(ReadOnlySpan<T>, T, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than value0, value1, or value2.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(ReadOnlySpan<T> span, T value0, T value1, T value2);
public static bool ContainsAnyExcept<T> (this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>;
static member ContainsAnyExcept : ReadOnlySpan<'T (requires 'T :> IEquatable<'T>)> * 'T * 'T * 'T -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As ReadOnlySpan(Of T), value0 As T, value1 As T, value2 As T) As Boolean

Type Parameters

T

Parameters

span
ReadOnlySpan<T>

The span to search.

value0
T

The value to exclude from the search.

value1
T

The value to exclude from the search.

value2
T

The value to exclude from the search.

Returns

true if any value other than value0, value1, or value2 is present in the span. If all of the values are value0, value1, or value2, returns false.

Applies to

ContainsAnyExcept<T>(Span<T>, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than the specified value.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(Span<T> span, T value);
public static bool ContainsAnyExcept<T> (this Span<T> span, T value) where T : IEquatable<T>;
static member ContainsAnyExcept : Span<'T (requires 'T :> IEquatable<'T>)> * 'T -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As Span(Of T), value As T) As Boolean

Type Parameters

T

Parameters

span
Span<T>

The span to search.

value
T

The value to exclude from the search.

Returns

true if any value other than value is present in the span. If all of the values are value, returns false.

Applies to

ContainsAnyExcept<T>(ReadOnlySpan<T>, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than the specified value.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(ReadOnlySpan<T> span, T value);
public static bool ContainsAnyExcept<T> (this ReadOnlySpan<T> span, T value) where T : IEquatable<T>;
static member ContainsAnyExcept : ReadOnlySpan<'T (requires 'T :> IEquatable<'T>)> * 'T -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As ReadOnlySpan(Of T), value As T) As Boolean

Type Parameters

T

Parameters

span
ReadOnlySpan<T>

The span to search.

value
T

The value to exclude from the search.

Returns

true if any value other than value is present in the span. If all of the values are value, returns false.

Applies to

ContainsAnyExcept<T>(Span<T>, SearchValues<T>)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than the specified values.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(Span<T> span, System::Buffers::SearchValues<T> ^ values);
public static bool ContainsAnyExcept<T> (this Span<T> span, System.Buffers.SearchValues<T> values) where T : IEquatable<T>;
static member ContainsAnyExcept : Span<'T (requires 'T :> IEquatable<'T>)> * System.Buffers.SearchValues<'T (requires 'T :> IEquatable<'T>)> -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As Span(Of T), values As SearchValues(Of T)) As Boolean

Type Parameters

T

Parameters

span
Span<T>

The span to search.

values
SearchValues<T>

The set of values to exclude from the search.

Returns

true if any value other than those in values is present in the span. If all of the values are in values, returns false.

Applies to

ContainsAnyExcept<T>(ReadOnlySpan<T>, SearchValues<T>)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than the specified values.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(ReadOnlySpan<T> span, System::Buffers::SearchValues<T> ^ values);
public static bool ContainsAnyExcept<T> (this ReadOnlySpan<T> span, System.Buffers.SearchValues<T> values) where T : IEquatable<T>;
static member ContainsAnyExcept : ReadOnlySpan<'T (requires 'T :> IEquatable<'T>)> * System.Buffers.SearchValues<'T (requires 'T :> IEquatable<'T>)> -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As ReadOnlySpan(Of T), values As SearchValues(Of T)) As Boolean

Type Parameters

T

Parameters

span
ReadOnlySpan<T>

The span to search.

values
SearchValues<T>

The set of values to exclude from the search.

Returns

true if any value other than those in values is present in the span. If all of the values are in values, returns false.

Applies to

ContainsAnyExcept<T>(Span<T>, ReadOnlySpan<T>)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than the specified values.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(Span<T> span, ReadOnlySpan<T> values);
public static bool ContainsAnyExcept<T> (this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>;
static member ContainsAnyExcept : Span<'T (requires 'T :> IEquatable<'T>)> * ReadOnlySpan<'T (requires 'T :> IEquatable<'T>)> -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As Span(Of T), values As ReadOnlySpan(Of T)) As Boolean

Type Parameters

T

Parameters

span
Span<T>

The span to search.

values
ReadOnlySpan<T>

The set of values to exclude from the search.

Returns

true if any value other than those in values is present in the span. If all of the values are in values, returns false.

Applies to

ContainsAnyExcept<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Searches for any value other than the specified values.

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyExcept(ReadOnlySpan<T> span, ReadOnlySpan<T> values);
public static bool ContainsAnyExcept<T> (this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>;
static member ContainsAnyExcept : ReadOnlySpan<'T (requires 'T :> IEquatable<'T>)> * ReadOnlySpan<'T (requires 'T :> IEquatable<'T>)> -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function ContainsAnyExcept(Of T As IEquatable(Of T)) (span As ReadOnlySpan(Of T), values As ReadOnlySpan(Of T)) As Boolean

Type Parameters

T

Parameters

span
ReadOnlySpan<T>

The span to search.

values
ReadOnlySpan<T>

The set of values to exclude from the search.

Returns

true if any value other than those in values is present in the span. If all of the values are in values, returns false.

Applies to