Condividi tramite


Ascii.Equals Metodo

Definizione

Overload

Equals(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Determina se i buffer forniti contengono caratteri ASCII uguali.

Equals(ReadOnlySpan<Byte>, ReadOnlySpan<Char>)

Determina se i buffer forniti contengono caratteri ASCII uguali.

Equals(ReadOnlySpan<Char>, ReadOnlySpan<Byte>)

Determina se i buffer forniti contengono caratteri ASCII uguali.

Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>)

Determina se i buffer forniti contengono caratteri ASCII uguali.

Equals(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Origine:
Ascii.Equality.cs
Origine:
Ascii.Equality.cs

Determina se i buffer forniti contengono caratteri ASCII uguali.

public:
 static bool Equals(ReadOnlySpan<System::Byte> left, ReadOnlySpan<System::Byte> right);
public static bool Equals (ReadOnlySpan<byte> left, ReadOnlySpan<byte> right);
static member Equals : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
Public Shared Function Equals (left As ReadOnlySpan(Of Byte), right As ReadOnlySpan(Of Byte)) As Boolean

Parametri

left
ReadOnlySpan<Byte>

Buffer da confrontare con right.

right
ReadOnlySpan<Byte>

Buffer da confrontare con left.

Restituisce

true se gli elementi corrispondenti in left e sono uguali e right ASCII; false in caso contrario.

Commenti

Se entrambi i buffer contengono caratteri uguali, ma non ASCII, il metodo restituisce false.

Si applica a

Equals(ReadOnlySpan<Byte>, ReadOnlySpan<Char>)

Origine:
Ascii.Equality.cs
Origine:
Ascii.Equality.cs

Determina se i buffer forniti contengono caratteri ASCII uguali.

public:
 static bool Equals(ReadOnlySpan<System::Byte> left, ReadOnlySpan<char> right);
public static bool Equals (ReadOnlySpan<byte> left, ReadOnlySpan<char> right);
static member Equals : ReadOnlySpan<byte> * ReadOnlySpan<char> -> bool
Public Shared Function Equals (left As ReadOnlySpan(Of Byte), right As ReadOnlySpan(Of Char)) As Boolean

Parametri

left
ReadOnlySpan<Byte>

Buffer da confrontare con right.

right
ReadOnlySpan<Char>

Buffer da confrontare con left.

Restituisce

true se gli elementi corrispondenti in left e sono uguali e right ASCII; false in caso contrario.

Si applica a

Equals(ReadOnlySpan<Char>, ReadOnlySpan<Byte>)

Origine:
Ascii.Equality.cs
Origine:
Ascii.Equality.cs

Determina se i buffer forniti contengono caratteri ASCII uguali.

public:
 static bool Equals(ReadOnlySpan<char> left, ReadOnlySpan<System::Byte> right);
public static bool Equals (ReadOnlySpan<char> left, ReadOnlySpan<byte> right);
static member Equals : ReadOnlySpan<char> * ReadOnlySpan<byte> -> bool
Public Shared Function Equals (left As ReadOnlySpan(Of Char), right As ReadOnlySpan(Of Byte)) As Boolean

Parametri

left
ReadOnlySpan<Char>

Buffer da confrontare con right.

right
ReadOnlySpan<Byte>

Buffer da confrontare con left.

Restituisce

true se gli elementi corrispondenti in left e sono uguali e right ASCII; false in caso contrario.

Si applica a

Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>)

Origine:
Ascii.Equality.cs
Origine:
Ascii.Equality.cs

Determina se i buffer forniti contengono caratteri ASCII uguali.

public:
 static bool Equals(ReadOnlySpan<char> left, ReadOnlySpan<char> right);
public static bool Equals (ReadOnlySpan<char> left, ReadOnlySpan<char> right);
static member Equals : ReadOnlySpan<char> * ReadOnlySpan<char> -> bool
Public Shared Function Equals (left As ReadOnlySpan(Of Char), right As ReadOnlySpan(Of Char)) As Boolean

Parametri

left
ReadOnlySpan<Char>

Buffer da confrontare con right.

right
ReadOnlySpan<Char>

Buffer da confrontare con left.

Restituisce

true se gli elementi corrispondenti in left e sono uguali e right ASCII; false in caso contrario.

Si applica a