Compartir a través de


Clase ComparablePropertyDefinition(T)

Represents a comparable property definition.

Espacio de nombres:  Microsoft.ReportingServices.RdlObjectModel
Ensamblado:  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Sintaxis

'Declaración
Public Class ComparablePropertyDefinition(Of T As {Structure, New, IComparable}) _
    Inherits PropertyDefinition(Of T) _
    Implements IPropertyDefinition
'Uso
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 no admite tipos y métodos genéricos.

Parámetros de tipo

  • T

El tipo ComparablePropertyDefinition<(Of <(<'T>)>)> expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ComparablePropertyDefinition< (Of < ( <'T> ) > ) >(String, Nullable< (Of < <' (T> ) > > )) Initializes a new instance of the ComparablePropertyDefinition<(Of <(<'T>)>)> class.
Método público ComparablePropertyDefinition< (Of < ( <'T> ) > ) >(String, Nullable< (Of < <' (T> ) > > ), Nullable< (Of < <' (T> ) > > ), Nullable< (Of < <' (T> ) > > )) Initializes a new instance of the ComparablePropertyDefinition<(Of <(<'T>)>)> class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Default The default value. (Se hereda de PropertyDefinition< (Of < ( <'T> ) > ) >.)
Propiedad pública Maximum The maximum value.
Propiedad pública Minimum The minimum value.
Propiedad pública Name The property name. (Se hereda de PropertyDefinition.)

Arriba

Métodos

  Nombre Descripción
Método público Constrain Adjust a value according to the defined property constraints.
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)
Método público Validate(Object, ReportExpression< (Of < <' (T> ) > > )) Infraestructura.
Método público Validate(Object, String) Infraestructura.
Método público Validate(Object, T) Infraestructura.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.