共用方式為


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 命名空間