StringValues.Equality Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Equality(String[], StringValues) |
Determines whether the specified string array and StringValues objects have the same values. |
Equality(Object, StringValues) |
Determines whether the specified Object, which must be a StringValues, String, or array of String, and specified StringValues, have the same value. |
Equality(StringValues, String[]) |
Determines whether the specified StringValues and string array objects have the same values. |
Equality(String, StringValues) |
Determines whether the specified String and StringValues objects have the same values. |
Equality(StringValues, Object) |
Determines whether the specified StringValues and Object, which must be a StringValues, String, or array of String, have the same value. |
Equality(StringValues, String) |
Determines whether the specified StringValues and String objects have the same values. |
Equality(StringValues, StringValues) |
Determines whether two specified StringValues have the same values. |
Equality(String[], StringValues)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether the specified string array and StringValues objects have the same values.
public:
static bool operator ==(cli::array <System::String ^> ^ left, Microsoft::Extensions::Primitives::StringValues right);
public static bool operator == (string?[]? left, Microsoft.Extensions.Primitives.StringValues right);
static member ( = ) : string[] * Microsoft.Extensions.Primitives.StringValues -> bool
Public Shared Operator == (left As String(), right As StringValues) As Boolean
Parameters
- left
- String[]
The string array to compare.
- right
- StringValues
The StringValues to compare.
Returns
true
if the value of left
is the same as the value of right
; otherwise, false
.
Applies to
Equality(Object, StringValues)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether the specified Object, which must be a StringValues, String, or array of String, and specified StringValues, have the same value.
public:
static bool operator ==(System::Object ^ left, Microsoft::Extensions::Primitives::StringValues right);
public static bool operator == (object? left, Microsoft.Extensions.Primitives.StringValues right);
static member ( = ) : obj * Microsoft.Extensions.Primitives.StringValues -> bool
Public Shared Operator == (left As Object, right As StringValues) As Boolean
Parameters
- left
- Object
The StringValues to compare.
- right
- StringValues
The Object to compare.
Returns
true
if the left
object is equal to the right
; otherwise, false
.
Applies to
Equality(StringValues, String[])
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether the specified StringValues and string array objects have the same values.
public:
static bool operator ==(Microsoft::Extensions::Primitives::StringValues left, cli::array <System::String ^> ^ right);
public static bool operator == (Microsoft.Extensions.Primitives.StringValues left, string?[]? right);
static member ( = ) : Microsoft.Extensions.Primitives.StringValues * string[] -> bool
Public Shared Operator == (left As StringValues, right As String()) As Boolean
Parameters
- left
- StringValues
The StringValues to compare.
- right
- String[]
The string array to compare.
Returns
true
if the value of left
is the same as the value of right
; otherwise, false
.
Applies to
Equality(String, StringValues)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether the specified String and StringValues objects have the same values.
public:
static bool operator ==(System::String ^ left, Microsoft::Extensions::Primitives::StringValues right);
public static bool operator == (string? left, Microsoft.Extensions.Primitives.StringValues right);
static member ( = ) : string * Microsoft.Extensions.Primitives.StringValues -> bool
Public Shared Operator == (left As String, right As StringValues) As Boolean
Parameters
- left
- String
The string to compare.
- right
- StringValues
The StringValues to compare.
Returns
true
if the value of left
is the same as the value of right
; otherwise, false
. If left
is null
, the method returns false
.
Applies to
Equality(StringValues, Object)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether the specified StringValues and Object, which must be a StringValues, String, or array of String, have the same value.
public:
static bool operator ==(Microsoft::Extensions::Primitives::StringValues left, System::Object ^ right);
public static bool operator == (Microsoft.Extensions.Primitives.StringValues left, object? right);
static member ( = ) : Microsoft.Extensions.Primitives.StringValues * obj -> bool
Public Shared Operator == (left As StringValues, right As Object) As Boolean
Parameters
- left
- StringValues
The StringValues to compare.
Returns
true
if the left
object is equal to the right
; otherwise, false
.
Applies to
Equality(StringValues, String)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether the specified StringValues and String objects have the same values.
public:
static bool operator ==(Microsoft::Extensions::Primitives::StringValues left, System::String ^ right);
public static bool operator == (Microsoft.Extensions.Primitives.StringValues left, string? right);
static member ( = ) : Microsoft.Extensions.Primitives.StringValues * string -> bool
Public Shared Operator == (left As StringValues, right As String) As Boolean
Parameters
- left
- StringValues
The StringValues to compare.
Returns
true
if the value of left
is the same as the value of right
; otherwise, false
. If right
is null
, the method returns false
.
Applies to
Equality(StringValues, StringValues)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether two specified StringValues have the same values.
public:
static bool operator ==(Microsoft::Extensions::Primitives::StringValues left, Microsoft::Extensions::Primitives::StringValues right);
public static bool operator == (Microsoft.Extensions.Primitives.StringValues left, Microsoft.Extensions.Primitives.StringValues right);
static member ( = ) : Microsoft.Extensions.Primitives.StringValues * Microsoft.Extensions.Primitives.StringValues -> bool
Public Shared Operator == (left As StringValues, right As StringValues) As Boolean
Parameters
- left
- StringValues
The first StringValues to compare.
- right
- StringValues
The second StringValues to compare.
Returns
true
if the value of left
is the same as the value of right
; otherwise, false
.