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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)