Share via


Field Class

Represents a field in a dataset.

Inheritance Hierarchy

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

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Class Field _
    Inherits ReportObject _
    Implements INamedObject
'Usage
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

The Field type exposes the following members.

Constructors

  Name Description
Public method Field Initializes a new instance of the Field class.

Top

Properties

  Name Description
Public property Caption Infrastructure. Gets or sets the caption of the field.
Public property ComponentMetadata Gets or sets the component metadata. (Inherited from ReportObject.)
Public property DataField Gets or sets the name of the field in the query.
Public property DefaultAggregateExpression Infrastructure. Gets the default aggregate expression for a field.
Public property IsCalculatedField Infrastructure. Gets a value that indicates whether the field type is calculated field.
Public property Name Gets or sets the field name.
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
Public property Site Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.)
Public property TreatAsNumeric Infrastructure. Gets a value that indicates whether the field value is treated as numeric.
Public property TypeName Gets or sets the data type of the value.
Public property UserDefined Gets or sets a value that indicates whether the field value is user defined.
Public property Value Gets or sets the field value.

Top

Methods

  Name Description
Public method DeepClone Infrastructure. Returns a deep clone of this Field instance. (Overrides ReportObject.DeepClone().)
Public method Equals(Object) Infrastructure. Tests the equality of this object and another object. (Overrides Object.Equals(Object).)
Public method Equals(Field) Infrastructure. Tests the equality of this object and another Field object.
Protected method Finalize (Inherited from Object.)
Public method GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.)
Public method GetDataType Infrastructure. Gets the data type for the field.
Protected method GetDependenciesCore Infrastructure. Returns the dependencies core for the ReportObject object. (Inherited from ReportObject.)
Public method GetHashCode Infrastructure. Gets a unique hash code for the current instance. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method Initialize Infrastructure. Initializes an instance of ReportObject. (Inherited from ReportObject.)
Protected method InitializeForDesigner Infrastructure. Initializes the report object for designer. (Inherited from ReportObject.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. Indicates whether the RDL semantic is equal to the core objects. (Overrides ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Protected method SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (Inherited from ReportObject.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace