Share via


ReportExpression Structure

Represents a report expression.

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

Syntax

'Declaration
Public Structure ReportExpression _
    Implements IExpression, IXmlSerializable, IFormattable
'Usage
Dim instance As ReportExpression
public struct ReportExpression : IExpression, 
    IXmlSerializable, IFormattable
public value class ReportExpression : IExpression, 
    IXmlSerializable, IFormattable
[<SealedAttribute>]
type ReportExpression =  
    struct 
        interface IExpression 
        interface IXmlSerializable 
        interface IFormattable 
    end
JScript suports the use of structures, but not the declaration of new ones.

The ReportExpression type exposes the following members.

Constructors

  Name Description
Public method ReportExpression(Boolean) Infrastructure. Initializes a new instance of the ReportExpression class.
Public method ReportExpression(DateTime) Infrastructure. Initializes a new instance of the ReportExpression class.
Public method ReportExpression(Double) Infrastructure. Initializes a new instance of the ReportExpression class.
Public method ReportExpression(Int32) Infrastructure. Initializes a new instance of the ReportExpression class.
Public method ReportExpression(String) Initializes a new instance of the ReportExpression class.
Public method ReportExpression(String, EvaluationMode) Initializes a new instance of the ReportExpression class.

Top

Properties

  Name Description
Public property DataType Gets or sets the data type of the evaluated expression.
Public propertyStatic member Empty Infrastructure. Gets the empty report expression object.
Public property EvaluationMode Gets or sets the evaluation mode for the report expression.
Public property Expression Gets or sets the expression string.
Public property IsEmpty Infrastructure. Gets whether the report expression is empty.
Public property IsExpression Gets a value that indicates whether this is an expression.
Public property Value Gets or sets the value of the expression.

Top

Methods

  Name Description
Public methodStatic member BuildFieldReference(String) Infrastructure. Builds a reference to the field.
Public methodStatic member BuildFieldReference(String, String) Infrastructure. Builds a reference to the field.
Public methodStatic member BuildFunctionCall Infrastructure. Builds a function call expression.
Public methodStatic member BuildGlobalReference Infrastructure. Builds a global reference expression.
Public methodStatic member BuildNullValue Infrastructure. Builds a null value expression.
Public methodStatic member BuildParameterReference(String) Infrastructure. Builds a parameter reference.
Public methodStatic member BuildParameterReference(String, String) Infrastructure. Builds a parameter reference.
Public methodStatic member BuildStringLiteral Infrastructure. Builds a string literal expression.
Public methodStatic member BuildUserReference Infrastructure. Builds a user reference expression.
Public method Equals Tests the equality of the current instance with another expression. (Overrides ValueType.Equals(Object).)
Public method GetDependencies Gets dependencies from the parent object.
Public methodStatic member GetFieldReference Infrastructure. Gets a field reference for the expression.
Public method GetHashCode Gets a unique hash code for the current instance. (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Public methodStatic member IsAggregateExpression Infrastructure. Specifies whether the report expression is an aggregate expression.
Public methodStatic member IsExpressionString Indicates whether a string is an expression.
Public method ToString() Converts the current ReportExpression instance to a string. (Overrides ValueType.ToString().)
Public method ToString(String, IFormatProvider) Converts the current ReportExpression instance to a string.

Top

Operators

  Name Description
Public operatorStatic member Equality(String, ReportExpression) Tests the equality of two expressions.
Public operatorStatic member Equality(ReportExpression, ReportExpression) Tests the equality of two expressions.
Public operatorStatic member Equality(ReportExpression, String) Tests the equality of two expressions.
Public operatorStatic member Explicit(ReportExpression to String) Converts a ReportExpression object to an expression string.
Public operatorStatic member Implicit(String to ReportExpression) Converts an expression string to a ReportExpression object.
Public operatorStatic member Inequality(String, ReportExpression) Tests the inequality of two expressions.
Public operatorStatic member Inequality(ReportExpression, ReportExpression) Tests the inequality of two expressions.
Public operatorStatic member Inequality(ReportExpression, String) Tests the inequality of two expressions.

Top

Explicit Interface Implementations

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

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