Del via


ComparablePropertyDefinition<T> Class

Represents a comparable property definition.

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 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.
Public method ComparablePropertyDefinition<T>(String, Nullable<T>, Nullable<T>, Nullable<T>) Initializes a new instance of the ComparablePropertyDefinition<T> class.

Top

Properties

  Name Description
Public property Default The default value. (Inherited from PropertyDefinition<T>.)
Public property Maximum The maximum value.
Public property Minimum The minimum value.
Public property Name The property name. (Inherited from PropertyDefinition.)

Top

Methods

  Name Description
Public method Constrain Adjust 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.
Public method Validate(Object, String) Infrastructure.
Public method Validate(Object, T) Infrastructure.

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.