AlertInfo.Equals 方法

请注意:此 API 现在已过时。

确定当前的AlertInfo对象是否等于另一个对象 (可能的未知类型)。

命名空间:  Microsoft.Office.Server.Search.Query
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
<ObsoleteAttribute("This class is replaced by the query property bag, using the keys SearchAlert.PropBagKey_ChangeType and SearchAlert.PropBagKey_AlertBaselineTime.")> _
Public Overrides Function Equals ( _
    other As Object _
) As Boolean
用法
Dim instance As AlertInfo
Dim other As Object
Dim returnValue As Boolean

returnValue = instance.Equals(other)
[ObsoleteAttribute("This class is replaced by the query property bag, using the keys SearchAlert.PropBagKey_ChangeType and SearchAlert.PropBagKey_AlertBaselineTime.")]
public override bool Equals(
    Object other
)

参数

  • other
    类型:System.Object

    要与当前对象进行比较的对象。

返回值

类型:System.Boolean
true如果当前的对象等于该对象作为参数 ; 传递否则为false。

另请参阅

引用

AlertInfo 类

AlertInfo 成员

Microsoft.Office.Server.Search.Query 命名空间