此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Compares whether the semantics of the report object are the same.
命名空间: Microsoft.ReportingServices.RdlObjectModel
程序集: Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)
语法
声明
Protected Shared Function SemanticCompare(Of T As ReportObject) ( _
x As T, _
y As T, _
visitedList As ICollection(Of ReportObject) _
) As Boolean
用法
Dim x As T
Dim y As T
Dim visitedList As ICollection(Of ReportObject)
Dim returnValue As Boolean
returnValue = ReportObject.SemanticCompare(x, _
y, visitedList)
protected static bool SemanticCompare<T>(
T x,
T y,
ICollection<ReportObject> visitedList
)
where T : ReportObject
protected:
generic<typename T>
where T : ReportObject
static bool SemanticCompare(
T x,
T y,
ICollection<ReportObject^>^ visitedList
)
static member SemanticCompare :
x:'T *
y:'T *
visitedList:ICollection<ReportObject> -> bool when 'T : ReportObject
JScript 不支持一般类型和方法。
类型参数
- T
The type of the report object.
参数
- x
类型:T
The first report object.
- y
类型:T
The second report object.
- visitedList
类型:System.Collections.Generic.ICollection<ReportObject>
The collection of report objects.
返回值
类型:System.Boolean
True if the semantics of the report object are the same; otherwise, false.