ComparablePropertyDefinition<T> 类

Represents a comparable property definition.

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Class ComparablePropertyDefinition(Of T As {Structure, New, IComparable}) _
    Inherits PropertyDefinition(Of T) _
    Implements IPropertyDefinition
用法
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 不支持一般类型和方法。

类型参数

  • T

ComparablePropertyDefinition<T> 类型公开以下成员。

构造函数

  名称 说明
公共方法 ComparablePropertyDefinition<T>(String, Nullable<T>) Initializes a new instance of the ComparablePropertyDefinition<T> class.
公共方法 ComparablePropertyDefinition<T>(String, Nullable<T>, Nullable<T>, Nullable<T>) Initializes a new instance of the ComparablePropertyDefinition<T> class.

页首

属性

  名称 说明
公共属性 Default The default value. (从 PropertyDefinition<T> 继承。)
公共属性 Maximum The maximum value.
公共属性 Minimum The minimum value.
公共属性 Name The property name. (从 PropertyDefinition 继承。)

页首

方法

  名称 说明
公共方法 Constrain Adjust a value according to the defined property constraints.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)
公共方法 Validate(Object, ReportExpression<T>) 基础结构。
公共方法 Validate(Object, String) 基础结构。
公共方法 Validate(Object, T) 基础结构。

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。