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
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) | 基础结构。 |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
IPropertyDefinition.Default | ||
IPropertyDefinition.Maximum | ||
IPropertyDefinition.Minimum | ||
IPropertyDefinition.Validate |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。