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 | |
---|---|---|
ComparablePropertyDefinition<T>(String, Nullable<T>) | Initializes a new instance of the ComparablePropertyDefinition<T> class using the specified name and default value. | |
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 | |
---|---|---|
Default | Gets the default value of the property. (Geerbt von PropertyDefinition<T>.) | |
Maximum | Gets the maximum value. | |
Minimum | Gets the minimum value. | |
Name | The property name. (Geerbt von PropertyDefinition.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Constrain | Adjusts a value according to the defined property constraints. | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
MemberwiseClone | (Geerbt von Object.) | |
ToString | (Geerbt von Object.) | |
Validate(Object, ReportExpression<T>) | Infrastruktur Validates the ComparablePropertyDefinition<T> object. | |
Validate(Object, String) | Infrastruktur Validates the ComparablePropertyDefinition<T> object. | |
Validate(Object, T) | Infrastruktur Validates the ComparablePropertyDefinition<T> object. |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
IPropertyDefinition.Default | Gets the default value of the property definition. | |
IPropertyDefinition.Maximum | Gets the maximum value of the property definition. | |
IPropertyDefinition.Minimum | Gets the minimum value of the property definition. | |
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.