StringSegment.Inequality(StringSegment, StringSegment) 运算符

定义

检查两个指定的 StringSegment 是否具有不同的值。

public:
 static bool operator !=(Microsoft::Extensions::Primitives::StringSegment left, Microsoft::Extensions::Primitives::StringSegment right);
public static bool operator != (Microsoft.Extensions.Primitives.StringSegment left, Microsoft.Extensions.Primitives.StringSegment right);
static member op_Inequality : Microsoft.Extensions.Primitives.StringSegment * Microsoft.Extensions.Primitives.StringSegment -> bool
Public Shared Operator != (left As StringSegment, right As StringSegment) As Boolean

参数

left
StringSegment

要比较的第一个 StringSegment,或 null

right
StringSegment

要比较的第二个 StringSegment,或 null

返回

Boolean

如果 true 的值与 left 的值不同,则为 right;否则为 false

适用于