ComparablePropertyDefinition<T> Class
Represents a comparable property definition.
Inheritance Hierarchy
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 does not support generic types and methods.
Type Parameters
- T
The type of elements in the comparable property definition.
The ComparablePropertyDefinition<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Default | Gets the default value of the property. (Inherited from PropertyDefinition<T>.) | |
Maximum | Gets the maximum value. | |
Minimum | Gets the minimum value. | |
Name | The property name. (Inherited from PropertyDefinition.) |
Top
Methods
Name | Description | |
---|---|---|
Constrain | Adjusts a value according to the defined property constraints. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
Validate(Object, ReportExpression<T>) | Infrastructure. Validates the ComparablePropertyDefinition<T> object. | |
Validate(Object, String) | Infrastructure. Validates the ComparablePropertyDefinition<T> object. | |
Validate(Object, T) | Infrastructure. Validates the ComparablePropertyDefinition<T> object. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.