Field 类

Represents a field in a dataset.

继承层次结构

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.Field

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

语法

声明
Public Class Field _
    Inherits ReportObject _
    Implements INamedObject
用法
Dim instance As Field
public class Field : ReportObject, INamedObject
public ref class Field : public ReportObject, 
    INamedObject
type Field =  
    class 
        inherit ReportObject 
        interface INamedObject 
    end
public class Field extends ReportObject implements INamedObject

Field 类型公开以下成员。

构造函数

  名称 说明
公共方法 Field Initializes a new instance of the Field class.

页首

属性

  名称 说明
公共属性 Caption 基础结构。Gets or sets the caption of the field.
公共属性 ComponentMetadata Gets or sets the component metadata. (从 ReportObject 继承。)
公共属性 DataField Gets or sets the name of the field in the query.
公共属性 DefaultAggregateExpression 基础结构。Gets the default aggregate expression for a field.
公共属性 IsCalculatedField 基础结构。Gets a value that indicates whether the field type is calculated field.
公共属性 Name Gets or sets the field name.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 Site 基础结构。Gets or sets the site associated with the ReportObject object. (从 ReportObject 继承。)
公共属性 TreatAsNumeric 基础结构。Gets a value that indicates whether the field value is treated as numeric.
公共属性 TypeName Gets or sets the data type of the value.
公共属性 UserDefined Gets or sets a value that indicates whether the field value is user defined.
公共属性 Value Gets or sets the field value.

页首

方法

  名称 说明
公共方法 DeepClone 基础结构。Returns a deep clone of this Field instance. (覆盖 ReportObject.DeepClone()。)
公共方法 Equals(Object) 基础结构。Tests the equality of this object and another object. (覆盖 Object.Equals(Object)。)
公共方法 Equals(Field) 基础结构。Tests the equality of this object and another Field object.
受保护方法 Finalize (从 Object 继承。)
公共方法 GetContainingDataScopes 基础结构。Returns the list of report object that contains data scopes. (从 ReportObject 继承。)
受保护方法 GetDataScopesForDefaultImpl 基础结构。Returns the data scopes for default implementation. (从 ReportObject 继承。)
公共方法 GetDataType 基础结构。Gets the data type for the field.
受保护方法 GetDependenciesCore 基础结构。Returns the dependencies core for the ReportObject object. (从 ReportObject 继承。)
公共方法 GetHashCode 基础结构。Gets a unique hash code for the current instance. (覆盖 Object.GetHashCode()。)
公共方法 GetType (从 Object 继承。)
公共方法 Initialize 基础结构。Initializes an instance of ReportObject. (从 ReportObject 继承。)
受保护方法 InitializeForDesigner 基础结构。Initializes the report object for designer. (从 ReportObject 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnChildPropertyChanged 基础结构。Raises an event when the property of the child was changed. (从 ReportObject 继承。)
受保护方法 OnPropertyChanged 基础结构。Raises an event when the property was changed. (从 ReportObject 继承。)
受保护方法 RdlSemanticEqualsCore 基础结构。Indicates whether the RDL semantic is equal to the core objects. (覆盖 ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)。)
受保护方法 SavePropertyValue<T> 基础结构。Saves the property value of the report object. (从 ReportObject 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IDisposable.Dispose 基础结构。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (从 ReportObject 继承。)
显式接口实现私有事件 IComponent.Disposed 基础结构。Occurs when the ReportObject object is disposed. (从 ReportObject 继承。)

页首

线程安全

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

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间