StringValues.Equality Operator

Definition

Overloads

Equality(String[], StringValues)
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[])
Equality(String, StringValues)
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)
Equality(StringValues, StringValues)

Determines whether two specified StringValues have the same values.

Equality(String[], StringValues)

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[]
right
StringValues

Returns

Boolean

Applies to

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.

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

Boolean

true if the left object is equal to the right; otherwise, false.

Applies to

Equality(StringValues, String[])

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

right
String[]

Returns

Boolean

Applies to

Equality(String, StringValues)

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
right
StringValues

Returns

Boolean

Applies to

Equality(StringValues, Object)

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.

right
Object

The Object to compare.

Returns

Boolean

true if the left object is equal to the right; otherwise, false.

Applies to

Equality(StringValues, String)

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

right
String

Returns

Boolean

Applies to

Equality(StringValues, StringValues)

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

Boolean

true if the value of left is the same as the value of right; otherwise, false.

Applies to