ComparablePropertyDefinition<T> 类

Represents a comparable property definition.

继承层次结构

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

命名空间:  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
    The type of elements in the comparable property definition.

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

构造函数

  名称 说明
公共方法 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.

页首

属性

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

页首

方法

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

页首

显式接口实现

  名称 说明
显式接口实现私有属性 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.

页首

线程安全

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

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间