比较两个对象以查看它们是否相同。
Namespace:System.Reactive
装配: System.Reactive.dll) 中的 System.Reactive (
语法
'Declaration
Public Shared Operator <> ( _
first As EventPattern(Of TEventArgs), _
second As EventPattern(Of TEventArgs) _
) As Boolean
'Usage
Dim first As EventPattern(Of TEventArgs)
Dim second As EventPattern(Of TEventArgs)
Dim returnValue As Boolean
returnValue = (first <> second)
public static bool operator !=(
EventPattern<TEventArgs> first,
EventPattern<TEventArgs> second
)
public:
static bool operator !=(
EventPattern<TEventArgs>^ first,
EventPattern<TEventArgs>^ second
)
static let inline (<>)
first:EventPattern<'TEventArgs> *
second:EventPattern<'TEventArgs> : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
参数
- first
类型: System.Reactive.EventPattern<TEventArgs>
要比较的第一个对象。
- 第 2 个
类型: System.Reactive.EventPattern<TEventArgs>
要比较的第二个对象。
返回值
类型: System.Boolean
返回布尔值。