Partilhar via


StringValues.Inequality Operator

Definition

Overloads

Inequality(String, StringValues)

Determines whether the specified String and StringValues objects have different values.

Inequality(Object, StringValues)

Determines whether the specified Object and StringValues object have the same values.

Inequality(StringValues, String[])

Determines whether the specified StringValues and string array have different values.

Inequality(String[], StringValues)

Determines whether the specified string array and StringValues have different values.

Inequality(StringValues, Object)

Determines whether the specified StringValues and Object, which must be a StringValues, String, or array of String, have different values.

Inequality(StringValues, StringValues)

Determines whether two specified StringValues have different values.

Inequality(StringValues, String)

Determines whether the specified StringValues and String objects have different values.

Inequality(String, StringValues)

Source:
StringValues.cs
Source:
StringValues.cs

Determines whether the specified String and StringValues objects have different 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 op_Inequality : 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 different to the value of right; otherwise, false.

Applies to

Inequality(Object, StringValues)

Source:
StringValues.cs
Source:
StringValues.cs

Determines whether the specified Object and StringValues object have the same values.

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 op_Inequality : obj * Microsoft.Extensions.Primitives.StringValues -> bool
Public Shared Operator != (left As Object, right As StringValues) As Boolean

Parameters

left
Object

The Object to compare.

right
StringValues

The StringValues to compare.

Returns

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

Applies to

Inequality(StringValues, String[])

Source:
StringValues.cs
Source:
StringValues.cs

Determines whether the specified StringValues and string array have different 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 op_Inequality : 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 different to the value of right; otherwise, false.

Applies to

Inequality(String[], StringValues)

Source:
StringValues.cs
Source:
StringValues.cs

Determines whether the specified string array and StringValues have different 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 op_Inequality : 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 different to the value of right; otherwise, false.

Applies to

Inequality(StringValues, Object)

Source:
StringValues.cs
Source:
StringValues.cs

Determines whether the specified StringValues and Object, which must be a StringValues, String, or array of String, have different values.

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 op_Inequality : 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

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

Applies to

Inequality(StringValues, StringValues)

Source:
StringValues.cs
Source:
StringValues.cs

Determines whether two specified StringValues have different 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 op_Inequality : 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 different to the value of right; otherwise, false.

Applies to

Inequality(StringValues, String)

Source:
StringValues.cs
Source:
StringValues.cs

Determines whether the specified StringValues and String objects have different 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 op_Inequality : 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 to compare.

Returns

true if the value of left is different to the value of right; otherwise, false.

Applies to