Partager via


Classe Field

Represents a field in a dataset.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Class Field _
    Inherits ReportObject _
    Implements INamedObject
'Utilisation
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

Le type Field expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique Field Initializes a new instance of the Field class.

Haut de la page

Propriétés

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

Haut de la page

Méthodes

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

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (hérité de ReportObject.)
Implémentation d'interface expliciteÉvénement privé IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (hérité de ReportObject.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.ReportingServices.RdlObjectModel