Partager via


Classe ComparablePropertyDefinition(T)

Represents a comparable property definition.

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

Le type ComparablePropertyDefinition<(Of <(<'T>)>)> expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ComparablePropertyDefinition< (Of < ( <'T> ) > ) >(String, Nullable< (Of < <' (T> ) > > )) Initializes a new instance of the ComparablePropertyDefinition<(Of <(<'T>)>)> class.
Méthode publique ComparablePropertyDefinition< (Of < ( <'T> ) > ) >(String, Nullable< (Of < <' (T> ) > > ), Nullable< (Of < <' (T> ) > > ), Nullable< (Of < <' (T> ) > > )) Initializes a new instance of the ComparablePropertyDefinition<(Of <(<'T>)>)> class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Default The default value. (hérité de PropertyDefinition< (Of < ( <'T> ) > ) >.)
Propriété publique Maximum The maximum value.
Propriété publique Minimum 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 Adjust 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< (Of < <' (T> ) > > )) Infrastructure.
Méthode publique Validate(Object, String) Infrastructure.
Méthode publique Validate(Object, T) Infrastructure.

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.