Share via


ReportExpression<T> Structure

Represents an expression in the report.

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

Syntax

'Declaration
Public Structure ReportExpression(Of T As {Structure, New}) _
    Implements IExpression, IXmlSerializable, IFormattable
'Usage
Dim instance As ReportExpression(Of T)
public struct ReportExpression<T> : IExpression, 
    IXmlSerializable, IFormattable 
where T : struct, new()
generic<typename T>
where T : value class, gcnew()
public value class ReportExpression : IExpression, 
    IXmlSerializable, IFormattable
[<SealedAttribute>]
type ReportExpression<'T when 'T : struct, new()> =  
    struct 
        interface IExpression 
        interface IXmlSerializable 
        interface IFormattable 
    end
JScript does not support generic types and methods.

Type Parameters

  • T
    The type of the expression.

The ReportExpression<T> type exposes the following members.

Constructors

  Name Description
Public method ReportExpression<T>(String) Initializes a new instance of the ReportExpression<T> class.
Public method ReportExpression<T>(T) Initializes a new instance of the ReportExpression<T> class.
Public method ReportExpression<T>(String, IFormatProvider) Initializes a new instance of the ReportExpression<T> class.

Top

Properties

  Name Description
Public property Expression Gets or sets the expression value.
Public property IsEmpty Gets or sets a value that indicates whether the expression object is empty.
Public property IsExpression Gets a value that indicates whether this is an expression.
Public property Value Gets or sets the calculated value.

Top

Methods

  Name Description
Public method Equals Tests the equality of the Value property with another object. (Overrides ValueType.Equals(Object).)
Public method GetDependencies Gets the object’s dependencies.
Public method GetHashCode Gets a unique hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Public methodStatic member Parse Parses a string value into a ReportExpression<T> object.
Public method ToString() Converts the current ReportExpression<T> object to a string. (Overrides ValueType.ToString().)
Public method ToString(String, IFormatProvider) Converts the current ReportExpression<T> object to a string.

Top

Operators

  Name Description
Public operatorStatic member Equality(String, ReportExpression<T>) Tests the equality between an expression and a ReportExpression<T> object.
Public operatorStatic member Equality(T, ReportExpression<T>) Tests the equality between an object and a ReportExpression<T> object.
Public operatorStatic member Equality(ReportExpression<T>, ReportExpression<T>) Tests the equality between two ReportExpression<T> objects.
Public operatorStatic member Equality(ReportExpression<T>, String) Tests the equality between an expression and a ReportExpression<T> object.
Public operatorStatic member Equality(ReportExpression<T>, T) Tests the equality between an object and a ReportExpression<T> object.
Public operatorStatic member Explicit(ReportExpression<T> to T) Converts the value of a ReportExpression<T> to an object of type T.
Public operatorStatic member Explicit(ReportExpression<T> to String) Converts the value of a ReportExpression<T> to a string.
Public operatorStatic member Implicit(Nullable<T> to ReportExpression<T>) Converts a Nullable<T> object to a ReportExpression<T>.
Public operatorStatic member Implicit(T to ReportExpression<T>) Converts an object of type T to a ReportExpression<T>.
Public operatorStatic member Inequality(String, ReportExpression<T>) Tests the inequality between an expression and a ReportExpression<T> object.
Public operatorStatic member Inequality(T, ReportExpression<T>) Tests the inequality between an object of type T and a ReportExpression<T> object.
Public operatorStatic member Inequality(ReportExpression<T>, ReportExpression<T>) Tests the inequality between two ReportExpression<T> objects.
Public operatorStatic member Inequality(ReportExpression<T>, String) Tests the inequality between an expression and a ReportExpression<T> object.
Public operatorStatic member Inequality(ReportExpression<T>, T) Tests the inequality between an object of type T and a ReportExpression<T> object.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IXmlSerializable.GetSchema Returns the xml schema.
Explicit interface implemetationPrivate method IXmlSerializable.ReadXml Reads the xml document of the expression.
Explicit interface implemetationPrivate method IXmlSerializable.WriteXml Writes the xml document of the expression.
Explicit interface implemetationPrivate property IExpression.Value Gets or sets the value of the expression.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace