共用方式為


ReportExpression<T>.Equality Operator

Definition

Tests the equality between two expressions.

Overloads

Equality(ReportExpression<T>, ReportExpression<T>)

Tests the equality between two ReportExpression<T> objects.

Equality(ReportExpression<T>, String)

Tests the equality between an expression and a ReportExpression<T> object.

Equality(ReportExpression<T>, T)

Tests the equality between an object and a ReportExpression<T> object.

Equality(String, ReportExpression<T>)

Tests the equality between an expression and a ReportExpression<T> object.

Equality(T, ReportExpression<T>)

Tests the equality between an object and a ReportExpression<T> object.

Equality(ReportExpression<T>, ReportExpression<T>)

Tests the equality between two ReportExpression<T> objects.

public:
 static bool operator ==(Microsoft::ReportingServices::RdlObjectModel::ReportExpression<T> left, Microsoft::ReportingServices::RdlObjectModel::ReportExpression<T> right);
public static bool operator == (Microsoft.ReportingServices.RdlObjectModel.ReportExpression<T> left, Microsoft.ReportingServices.RdlObjectModel.ReportExpression<T> right);
static member ( = ) : Microsoft.ReportingServices.RdlObjectModel.ReportExpression<'T (requires 'T : struct)> * Microsoft.ReportingServices.RdlObjectModel.ReportExpression<'T (requires 'T : struct)> -> bool
Public Shared Operator == (left As ReportExpression(Of T), right As ReportExpression(Of T)) As Boolean

Parameters

Returns

True if the two ReportExpression<T> objects are equal; otherwise, false.

Remarks

The equivalent method for this operator is <xref:Microsoft.ReportingServices.RdlObjectModel.ReportExpression%601.Equals%28Microsoft.ReportingServices.RdlObjectModel.ReportExpression%7B%600%7D%2CMicrosoft.ReportingServices.RdlObjectModel.ReportExpression%7B%600%7D%29?displayProperty=fullName>

Applies to

Equality(ReportExpression<T>, String)

Tests the equality between an expression and a ReportExpression<T> object.

public:
 static bool operator ==(Microsoft::ReportingServices::RdlObjectModel::ReportExpression<T> left, System::String ^ right);
public static bool operator == (Microsoft.ReportingServices.RdlObjectModel.ReportExpression<T> left, string right);
static member ( = ) : Microsoft.ReportingServices.RdlObjectModel.ReportExpression<'T (requires 'T : struct)> * string -> bool
Public Shared Operator == (left As ReportExpression(Of T), right As String) As Boolean

Parameters

right
String

An expression string.

Returns

True if the expression if equal to the ReportExpression<T> object; otherwise, false.

Remarks

The equivalent method for this operator is <xref:Microsoft.ReportingServices.RdlObjectModel.ReportExpression%601.Equals%28Microsoft.ReportingServices.RdlObjectModel.ReportExpression%7B%600%7D%2CSystem.String%29?displayProperty=fullName>

Applies to

Equality(ReportExpression<T>, T)

Tests the equality between an object and a ReportExpression<T> object.

public:
 static bool operator ==(Microsoft::ReportingServices::RdlObjectModel::ReportExpression<T> left, T right);
public static bool operator == (Microsoft.ReportingServices.RdlObjectModel.ReportExpression<T> left, T right);
static member ( = ) : Microsoft.ReportingServices.RdlObjectModel.ReportExpression<'T (requires 'T : struct)> * 'T -> bool
Public Shared Operator == (left As ReportExpression(Of T), right As T) As Boolean

Parameters

right
T

An object of type T.

Returns

True if an object is equal to the ReportExpression<T> object; otherwise, false.

Remarks

The equivalent method for this operator is <xref:Microsoft.ReportingServices.RdlObjectModel.ReportExpression%601.Equals%28Microsoft.ReportingServices.RdlObjectModel.ReportExpression%7B%600%7D%2C%600%29?displayProperty=fullName>

Applies to

Equality(String, ReportExpression<T>)

Tests the equality between an expression and a ReportExpression<T> object.

public:
 static bool operator ==(System::String ^ left, Microsoft::ReportingServices::RdlObjectModel::ReportExpression<T> right);
public static bool operator == (string left, Microsoft.ReportingServices.RdlObjectModel.ReportExpression<T> right);
static member ( = ) : string * Microsoft.ReportingServices.RdlObjectModel.ReportExpression<'T (requires 'T : struct)> -> bool
Public Shared Operator == (left As String, right As ReportExpression(Of T)) As Boolean

Parameters

left
String

An expression string.

Returns

True if the expression if equal to the ReportExpression<T> object; otherwise, false.

Remarks

The equivalent method for this operator is <xref:Microsoft.ReportingServices.RdlObjectModel.ReportExpression%601.Equals%28System.String%2CMicrosoft.ReportingServices.RdlObjectModel.ReportExpression%7B%600%7D%29?displayProperty=fullName>

Applies to

Equality(T, ReportExpression<T>)

Tests the equality between an object and a ReportExpression<T> object.

public:
 static bool operator ==(T left, Microsoft::ReportingServices::RdlObjectModel::ReportExpression<T> right);
public static bool operator == (T left, Microsoft.ReportingServices.RdlObjectModel.ReportExpression<T> right);
static member ( = ) : 'T * Microsoft.ReportingServices.RdlObjectModel.ReportExpression<'T (requires 'T : struct)> -> bool
Public Shared Operator == (left As T, right As ReportExpression(Of T)) As Boolean

Parameters

left
T

An object of type T.

Returns

True if an object is equal to the ReportExpression<T> object; otherwise, false.

Remarks

The equivalent method for this operator is <xref:Microsoft.ReportingServices.RdlObjectModel.ReportExpression%601.Equals%28%600%2CMicrosoft.ReportingServices.RdlObjectModel.ReportExpression%7B%600%7D%29?displayProperty=fullName>

Applies to