Initializes a new instance of the ComparablePropertyDefinition<T> class using the specified name and default value.
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Public Sub New ( _
name As String, _
defaultValue As Nullable(Of T) _
)
'用途
Dim name As String
Dim defaultValue As Nullable(Of T)
Dim instance As New ComparablePropertyDefinition(name, defaultValue)
public ComparablePropertyDefinition(
string name,
Nullable<T> defaultValue
)
public:
ComparablePropertyDefinition(
String^ name,
Nullable<T> defaultValue
)
new :
name:string *
defaultValue:Nullable<'T> -> ComparablePropertyDefinition
public function ComparablePropertyDefinition(
name : String,
defaultValue : Nullable<T>
)
參數
- name
型別:System.String
The property name.
- defaultValue
型別:System.Nullable<T>
The default value for the property.
請參閱
參考
ComparablePropertyDefinition<T> 類別