Partager via


Classe ComparablePropertyDefinition<T>

Represents a comparable property definition.

Hiérarchie d'héritage

System.Object
  Microsoft.ReportingServices.RdlObjectModel.PropertyDefinition
    Microsoft.ReportingServices.RdlObjectModel.PropertyDefinition<T>
      Microsoft.ReportingServices.RdlObjectModel.ComparablePropertyDefinition<T>
        Microsoft.ReportingServices.RdlObjectModel.DoubleProperty
        Microsoft.ReportingServices.RdlObjectModel.IntProperty
        Microsoft.ReportingServices.RdlObjectModel.SizeProperty

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

Syntaxe

'Déclaration
Public Class ComparablePropertyDefinition(Of T As {Structure, New, IComparable}) _
    Inherits PropertyDefinition(Of T) _
    Implements IPropertyDefinition
'Utilisation
Dim instance As ComparablePropertyDefinition(Of T)
public class ComparablePropertyDefinition<T> : PropertyDefinition<T>, 
    IPropertyDefinition 
where T : struct, new(), IComparable
generic<typename T>
where T : value class, gcnew(), IComparable 
public ref class ComparablePropertyDefinition : public PropertyDefinition<T>, 
    IPropertyDefinition
type ComparablePropertyDefinition<'T when 'T : struct, new() and IComparable> =  
    class 
        inherit PropertyDefinition<'T>
        interface IPropertyDefinition 
    end
JScript ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

  • T
    The type of elements in the comparable property definition.

Le type ComparablePropertyDefinition<T> expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ComparablePropertyDefinition<T>(String, Nullable<T>) Initializes a new instance of the ComparablePropertyDefinition<T> class using the specified name and default value.
Méthode publique ComparablePropertyDefinition<T>(String, Nullable<T>, Nullable<T>, Nullable<T>) Initializes a new instance of the ComparablePropertyDefinition<T> class using the specified name, default value, minimum value and maximum value.

Haut de la page

Propriétés

  Nom Description
Propriété publique Default Gets the default value of the property. (hérité de PropertyDefinition<T>.)
Propriété publique Maximum Gets the maximum value.
Propriété publique Minimum Gets the minimum value.
Propriété publique Name The property name. (hérité de PropertyDefinition.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Constrain Adjusts a value according to the defined property constraints.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)
Méthode publique Validate(Object, ReportExpression<T>) Infrastructure. Validates the ComparablePropertyDefinition<T> object.
Méthode publique Validate(Object, String) Infrastructure. Validates the ComparablePropertyDefinition<T> object.
Méthode publique Validate(Object, T) Infrastructure. Validates the ComparablePropertyDefinition<T> object.

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface explicitePropriété privée IPropertyDefinition.Default Gets the default value of the property definition.
Implémentation d'interface explicitePropriété privée IPropertyDefinition.Maximum Gets the maximum value of the property definition.
Implémentation d'interface explicitePropriété privée IPropertyDefinition.Minimum Gets the minimum value of the property definition.
Implémentation d'interface expliciteMéthode privée IPropertyDefinition.Validate Validates the property definition.

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