Classe ComparablePropertyDefinition<T>
Represents a comparable property definition.
Hierarquia de herança
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 (em Microsoft.ReportingServices.Designer.Controls.dll)
Sintaxe
'Declaração
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 não dá suporte a tipos e métodos genéricos.
Parâmetros de tipo
- T
The type of elements in the comparable property definition.
O tipo ComparablePropertyDefinition<T> expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
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. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Default | Gets the default value of the property. (Herdado de PropertyDefinition<T>.) | |
Maximum | Gets the maximum value. | |
Minimum | Gets the minimum value. | |
Name | The property name. (Herdado de PropertyDefinition.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Constrain | Adjusts a value according to the defined property constraints. | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) | |
Validate(Object, ReportExpression<T>) | Infraestrutura. Validates the ComparablePropertyDefinition<T> object. | |
Validate(Object, String) | Infraestrutura. Validates the ComparablePropertyDefinition<T> object. | |
Validate(Object, T) | Infraestrutura. Validates the ComparablePropertyDefinition<T> object. |
Início
Implementações de interfaces explícitas
Nome | Descrição | |
---|---|---|
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. |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.