Freigeben über


ComparablePropertyDefinition<T>-Klasse

Represents a comparable property definition.

Vererbungshierarchie

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

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

Syntax

'Declaration
Public Class ComparablePropertyDefinition(Of T As {Structure, New, IComparable}) _
    Inherits PropertyDefinition(Of T) _
    Implements IPropertyDefinition
'Usage
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 bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.

Typparameter

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

Der ComparablePropertyDefinition<T>-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ComparablePropertyDefinition<T>(String, Nullable<T>) Initializes a new instance of the ComparablePropertyDefinition<T> class using the specified name and default value.
Öffentliche Methode 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.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Default Gets the default value of the property. (Geerbt von PropertyDefinition<T>.)
Öffentliche Eigenschaft Maximum Gets the maximum value.
Öffentliche Eigenschaft Minimum Gets the minimum value.
Öffentliche Eigenschaft Name The property name. (Geerbt von PropertyDefinition.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Constrain Adjusts a value according to the defined property constraints.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode Validate(Object, ReportExpression<T>) Infrastruktur Validates the ComparablePropertyDefinition<T> object.
Öffentliche Methode Validate(Object, String) Infrastruktur Validates the ComparablePropertyDefinition<T> object.
Öffentliche Methode Validate(Object, T) Infrastruktur Validates the ComparablePropertyDefinition<T> object.

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Eigenschaft IPropertyDefinition.Default Gets the default value of the property definition.
Explizite SchnittstellenimplementierungPrivate Eigenschaft IPropertyDefinition.Maximum Gets the maximum value of the property definition.
Explizite SchnittstellenimplementierungPrivate Eigenschaft IPropertyDefinition.Minimum Gets the minimum value of the property definition.
Explizite SchnittstellenimplementierungPrivate Methode IPropertyDefinition.Validate Validates the property definition.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.ReportingServices.RdlObjectModel-Namespace