Share via


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
Public method ComparablePropertyDefinition<T>(String, Nullable<T>) Initializes a new instance of the ComparablePropertyDefinition<T> class using the specified name and default value.
Public method 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
Public property Default Gets the default value of the property. (Inherited from PropertyDefinition<T>.)
Public property Maximum Gets the maximum value.
Public property Minimum Gets the minimum value.
Public property Name The property name. (Inherited from PropertyDefinition.)

Top

Methods

  Name Description
Public method Constrain Adjusts a value according to the defined property constraints.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate(Object, ReportExpression<T>) Infrastructure. Validates the ComparablePropertyDefinition<T> object.
Public method Validate(Object, String) Infrastructure. Validates the ComparablePropertyDefinition<T> object.
Public method Validate(Object, T) Infrastructure. Validates the ComparablePropertyDefinition<T> object.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IPropertyDefinition.Default Gets the default value of the property definition.
Explicit interface implemetationPrivate property IPropertyDefinition.Maximum Gets the maximum value of the property definition.
Explicit interface implemetationPrivate property IPropertyDefinition.Minimum Gets the minimum value of the property definition.
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace