Share via


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

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Compares whether the semantics of the report object are the same.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Protected Shared Function SemanticCompare(Of T As ReportObject) ( _
    x As T, _
    y As T, _
    visitedList As ICollection(Of ReportObject) _
) As Boolean
'Usage
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 does not support generic types and methods.

Type Parameters

  • T
    The type of the report object.

Parameters

  • x
    Type: T
    The first report object.
  • y
    Type: T
    The second report object.

Return Value

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

See Also

Reference

ReportObject Class

SemanticCompare Overload

Microsoft.ReportingServices.RdlObjectModel Namespace