ReportExpression Struct

Definition

Represents a report expression.

public value class ReportExpression : IFormattable, Microsoft::ReportingServices::RdlObjectModel::IExpression, System::Xml::Serialization::IXmlSerializable
[System.ComponentModel.Editor(typeof(Microsoft.ReportDesigner.ExpressionUITypeEditor), typeof(System.Drawing.Design.UITypeEditor))]
[System.ComponentModel.TypeConverter(typeof(Microsoft.ReportDesigner.ReportExpressionConverter))]
public struct ReportExpression : IFormattable, Microsoft.ReportingServices.RdlObjectModel.IExpression, System.Xml.Serialization.IXmlSerializable
[<System.ComponentModel.Editor(typeof(Microsoft.ReportDesigner.ExpressionUITypeEditor), typeof(System.Drawing.Design.UITypeEditor))>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.ReportDesigner.ReportExpressionConverter))>]
type ReportExpression = struct
    interface IExpression
    interface IXmlSerializable
    interface IFormattable
Public Structure ReportExpression
Implements IExpression, IFormattable, IXmlSerializable
Inheritance
ReportExpression
Attributes
Implements

Constructors

ReportExpression(Boolean)

Initializes a new instance of the ReportExpression class.

ReportExpression(DateTime)

Initializes a new instance of the ReportExpression class.

ReportExpression(Double)

Initializes a new instance of the ReportExpression class.

ReportExpression(Int32)

Initializes a new instance of the ReportExpression class.

ReportExpression(String)

Initializes a new instance of the ReportExpression class.

ReportExpression(String, EvaluationMode)

Initializes a new instance of the ReportExpression class.

Properties

DataType

Gets or sets the data type of the evaluated expression.

Empty

Gets the empty report expression object.

EvaluationMode

Gets or sets the evaluation mode for the report expression.

Expression

Gets or sets the expression string.

IsEmpty

Gets whether the report expression is empty.

IsExpression

Gets a value that indicates whether this is an expression.

Value

Gets or sets the value of the expression.

Methods

BuildFieldReference(String)

Builds a reference to the field.

BuildFieldReference(String, String)

Builds a reference to the field.

BuildFunctionCall(String, String[])

Builds a function call expression.

BuildGlobalReference(String)

Builds a global reference expression.

BuildNullValue()

Builds a null value expression.

BuildParameterReference(String)

Builds a parameter reference.

BuildParameterReference(String, String)

Builds a parameter reference.

BuildStringLiteral(String)

Builds a string literal expression.

BuildUserReference(String)

Builds a user reference expression.

Equals(Object)

Tests the equality of the current instance with another expression.

GetDependencies(IList<ReportObject>, ReportObject)

Gets dependencies from the parent object.

GetFieldReference(String)

Gets a field reference for the expression.

GetHashCode()

Gets a unique hash code for the current instance.

IsAggregateExpression(String)

Specifies whether the report expression is an aggregate expression.

IsExpressionString(String)

Indicates whether a string is an expression.

ToString()

Converts the current ReportExpression instance to a string.

ToString(String, IFormatProvider)

Converts the current ReportExpression instance to a string.

Operators

Equality(ReportExpression, ReportExpression)

Tests the equality of two expressions.

Equality(ReportExpression, String)

Tests the equality of two expressions.

Equality(String, ReportExpression)

Tests the equality of two expressions.

Explicit(ReportExpression to String)

Converts a ReportExpression object to an expression string.

Implicit(String to ReportExpression)

Converts an expression string to a ReportExpression object.

Inequality(ReportExpression, ReportExpression)

Tests the inequality of two expressions.

Inequality(ReportExpression, String)

Tests the inequality of two expressions.

Inequality(String, ReportExpression)

Tests the inequality of two expressions.

Explicit Interface Implementations

IExpression.Value

Gets or sets the expression value.

IXmlSerializable.GetSchema()

Returns the xml schema.

IXmlSerializable.ReadXml(XmlReader)

Reads xml documentation.

IXmlSerializable.WriteXml(XmlWriter)

Writes xml documentation.

Applies to