ReportExpression<T> 结构

Represents an expression in the report.

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Structure ReportExpression(Of T As {Structure, New}) _
    Implements IExpression, IXmlSerializable, IFormattable
用法
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 不支持一般类型和方法。

类型参数

  • T
    The type of the expression.

ReportExpression<T> 类型公开以下成员。

构造函数

  名称 说明
公共方法 ReportExpression<T>(String) Initializes a new instance of the ReportExpression<T> class.
公共方法 ReportExpression<T>(T) Initializes a new instance of the ReportExpression<T> class.
公共方法 ReportExpression<T>(String, IFormatProvider) Initializes a new instance of the ReportExpression<T> class.

页首

属性

  名称 说明
公共属性 Expression Gets or sets the expression value.
公共属性 IsEmpty Gets or sets a value that indicates whether the expression object is empty.
公共属性 IsExpression Gets a value that indicates whether this is an expression.
公共属性 Value Gets or sets the calculated value.

页首

方法

  名称 说明
公共方法 Equals Tests the equality of the Value property with another object. (覆盖 ValueType.Equals(Object)。)
公共方法 GetDependencies Gets the object’s dependencies.
公共方法 GetHashCode Gets a unique hash code for this instance. (覆盖 ValueType.GetHashCode()。)
公共方法 GetType (从 Object 继承。)
公共方法静态成员 Parse Parses a string value into a ReportExpression<T> object.
公共方法 ToString() Converts the current ReportExpression<T> object to a string. (覆盖 ValueType.ToString()。)
公共方法 ToString(String, IFormatProvider) Converts the current ReportExpression<T> object to a string.

页首

运算符

  名称 说明
公共运算符静态成员 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.
公共运算符静态成员 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.
公共运算符静态成员 Explicit(ReportExpression<T> to T) Converts the value of a ReportExpression<T> to an object of type T.
公共运算符静态成员 Explicit(ReportExpression<T> to String) Converts the value of a ReportExpression<T> to a string.
公共运算符静态成员 Implicit(Nullable<T> to ReportExpression<T>) Converts a Nullable<T> object to a ReportExpression<T>.
公共运算符静态成员 Implicit(T to ReportExpression<T>) Converts an object of type T to a ReportExpression<T>.
公共运算符静态成员 Inequality(String, ReportExpression<T>) Tests the inequality between an expression and a ReportExpression<T> object.
公共运算符静态成员 Inequality(T, ReportExpression<T>) Tests the inequality between an object of type T and a ReportExpression<T> object.
公共运算符静态成员 Inequality(ReportExpression<T>, ReportExpression<T>) Tests the inequality between two ReportExpression<T> objects.
公共运算符静态成员 Inequality(ReportExpression<T>, String) Tests the inequality between an expression and a ReportExpression<T> object.
公共运算符静态成员 Inequality(ReportExpression<T>, T) Tests the inequality between an object of type T and a ReportExpression<T> object.

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IXmlSerializable.GetSchema Returns the xml schema.
显式接口实现私有方法 IXmlSerializable.ReadXml Reads the xml document of the expression.
显式接口实现私有方法 IXmlSerializable.WriteXml Writes the xml document of the expression.
显式接口实现私有属性 IExpression.Value Gets or sets the value of the expression.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间