Поделиться через


Класс 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.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.ReportingServices.RdlObjectModel