StringValues.Equals Method
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
Equals(String[], StringValues) |
Determines whether the specified string array and StringValues objects have the same values. |
Equals(String, StringValues) |
Determines whether the specified String and StringValues objects have the same values. |
Equals(StringValues, String[]) |
Determines whether the specified StringValues and string array objects have the same values. |
Equals(StringValues, String) |
Determines whether the specified StringValues and String objects have the same values. |
Equals(StringValues, StringValues) |
Determines whether two specified StringValues objects have the same values in the same order. |
Equals(String[]) |
Determines whether this instance and a specified string array have the same values. |
Equals(String) |
Determines whether this instance and a specified String, have the same value. |
Equals(Object) |
Determines whether this instance and a specified object have the same value. |
Equals(StringValues) |
Determines whether this instance and another specified StringValues object have the same values. |
Equals(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 Equals(cli::array <System::String ^> ^ left, Microsoft::Extensions::Primitives::StringValues right);
public static bool Equals (string?[]? left, Microsoft.Extensions.Primitives.StringValues right);
static member Equals : string[] * Microsoft.Extensions.Primitives.StringValues -> bool
Public Shared Function Equals (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
Equals(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 Equals(System::String ^ left, Microsoft::Extensions::Primitives::StringValues right);
public static bool Equals (string? left, Microsoft.Extensions.Primitives.StringValues right);
static member Equals : string * Microsoft.Extensions.Primitives.StringValues -> bool
Public Shared Function Equals (left As String, right As StringValues) As Boolean
Parameters
- 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
Equals(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 Equals(Microsoft::Extensions::Primitives::StringValues left, cli::array <System::String ^> ^ right);
public static bool Equals (Microsoft.Extensions.Primitives.StringValues left, string?[]? right);
static member Equals : Microsoft.Extensions.Primitives.StringValues * string[] -> bool
Public Shared Function Equals (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
Equals(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 Equals(Microsoft::Extensions::Primitives::StringValues left, System::String ^ right);
public static bool Equals (Microsoft.Extensions.Primitives.StringValues left, string? right);
static member Equals : Microsoft.Extensions.Primitives.StringValues * string -> bool
Public Shared Function Equals (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
Equals(StringValues, StringValues)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether two specified StringValues objects have the same values in the same order.
public:
static bool Equals(Microsoft::Extensions::Primitives::StringValues left, Microsoft::Extensions::Primitives::StringValues right);
public static bool Equals (Microsoft.Extensions.Primitives.StringValues left, Microsoft.Extensions.Primitives.StringValues right);
static member Equals : Microsoft.Extensions.Primitives.StringValues * Microsoft.Extensions.Primitives.StringValues -> bool
Public Shared Function Equals (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
.
Applies to
Equals(String[])
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether this instance and a specified string array have the same values.
public:
virtual bool Equals(cli::array <System::String ^> ^ other);
public bool Equals (string?[]? other);
override this.Equals : string[] -> bool
Public Function Equals (other As String()) As Boolean
Parameters
- other
- String[]
The string array to compare to this instance.
Returns
true
if the value of other
is the same as this instance; otherwise, false
.
Implements
Applies to
Equals(String)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether this instance and a specified String, have the same value.
public:
virtual bool Equals(System::String ^ other);
public bool Equals (string? other);
override this.Equals : string -> bool
Public Function Equals (other As String) As Boolean
Parameters
Returns
true
if the value of other
is the same as this instance; otherwise, false
. If other
is null
, returns false
.
Implements
Applies to
Equals(Object)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether this instance and a specified object have the same value.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
An object to compare with this object.
Returns
true
if the current object is equal to obj
; otherwise, false
.
Applies to
Equals(StringValues)
- Source:
- StringValues.cs
- Source:
- StringValues.cs
- Source:
- StringValues.cs
Determines whether this instance and another specified StringValues object have the same values.
public:
virtual bool Equals(Microsoft::Extensions::Primitives::StringValues other);
public bool Equals (Microsoft.Extensions.Primitives.StringValues other);
override this.Equals : Microsoft.Extensions.Primitives.StringValues -> bool
Public Function Equals (other As StringValues) As Boolean
Parameters
- other
- StringValues
The string to compare to this instance.
Returns
true
if the value of other
is the same as the value of this instance; otherwise, false
.
Implements
Applies to
.NET