Share via


ReportObject.SemanticCompare 方法

定义

比较报表对象的语义。

重载

SemanticCompare<T>(IList<T>, IList<T>, ICollection<ReportObject>)

比较报表对象的语义是否相同。

SemanticCompare<T>(T, T, ICollection<ReportObject>)

比较报表对象的语义是否相同。

SemanticCompare<T>(IList<T>, IList<T>, ICollection<ReportObject>)

比较报表对象的语义是否相同。

protected:
generic <typename T>
 where T : Microsoft::ReportingServices::RdlObjectModel::ReportObject static bool SemanticCompare(System::Collections::Generic::IList<T> ^ x, System::Collections::Generic::IList<T> ^ y, System::Collections::Generic::ICollection<Microsoft::ReportingServices::RdlObjectModel::ReportObject ^> ^ visitedList);
protected static bool SemanticCompare<T> (System.Collections.Generic.IList<T> x, System.Collections.Generic.IList<T> y, System.Collections.Generic.ICollection<Microsoft.ReportingServices.RdlObjectModel.ReportObject> visitedList) where T : Microsoft.ReportingServices.RdlObjectModel.ReportObject;
static member SemanticCompare : System.Collections.Generic.IList<'T (requires 'T :> Microsoft.ReportingServices.RdlObjectModel.ReportObject)> * System.Collections.Generic.IList<'T (requires 'T :> Microsoft.ReportingServices.RdlObjectModel.ReportObject)> * System.Collections.Generic.ICollection<Microsoft.ReportingServices.RdlObjectModel.ReportObject> -> bool (requires 'T :> Microsoft.ReportingServices.RdlObjectModel.ReportObject)
Protected Shared Function SemanticCompare(Of T As ReportObject) (x As IList(Of T), y As IList(Of T), visitedList As ICollection(Of ReportObject)) As Boolean

类型参数

T

报表对象的类型。

参数

x
IList<T>

第一个报表对象。

y
IList<T>

第二个报表对象。

visitedList
ICollection<ReportObject>

报表对象的集合。

返回

如果报表对象的语义相同,则为 True;否则为 false

适用于

SemanticCompare<T>(T, T, ICollection<ReportObject>)

比较报表对象的语义是否相同。

protected:
generic <typename T>
 where T : Microsoft::ReportingServices::RdlObjectModel::ReportObject static bool SemanticCompare(T x, T y, System::Collections::Generic::ICollection<Microsoft::ReportingServices::RdlObjectModel::ReportObject ^> ^ visitedList);
protected static bool SemanticCompare<T> (T x, T y, System.Collections.Generic.ICollection<Microsoft.ReportingServices.RdlObjectModel.ReportObject> visitedList) where T : Microsoft.ReportingServices.RdlObjectModel.ReportObject;
static member SemanticCompare : 'T * 'T * System.Collections.Generic.ICollection<Microsoft.ReportingServices.RdlObjectModel.ReportObject> -> bool (requires 'T :> Microsoft.ReportingServices.RdlObjectModel.ReportObject)
Protected Shared Function SemanticCompare(Of T As ReportObject) (x As T, y As T, visitedList As ICollection(Of ReportObject)) As Boolean

类型参数

T

报表对象的类型。

参数

x
T

第一个报表对象。

y
T

第二个报表对象。

visitedList
ICollection<ReportObject>

报表对象的集合。

返回

如果报表对象的语义相同,则为 True;否则为 false

适用于