共用方式為


ReportObject.SemanticCompare<T> 方法 (T, T, ICollection<ReportObject>)

此 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.

傳回值

型別:System.Boolean
True if the semantics of the report object are the same; otherwise, false.

請參閱

參考

ReportObject 類別

SemanticCompare 多載

Microsoft.ReportingServices.RdlObjectModel 命名空間