此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Initializes a new instance of the PropertyDefinition<T> class.
命名空间: Microsoft.ReportingServices.RdlObjectModel
程序集: Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)
语法
声明
Protected Sub New ( _
name As String, _
defaultValue As Nullable(Of T) _
)
用法
Dim name As String
Dim defaultValue As Nullable(Of T)
Dim instance As New PropertyDefinition(name, defaultValue)
protected PropertyDefinition(
string name,
Nullable<T> defaultValue
)
protected:
PropertyDefinition(
String^ name,
Nullable<T> defaultValue
)
new :
name:string *
defaultValue:Nullable<'T> -> PropertyDefinition
protected function PropertyDefinition(
name : String,
defaultValue : Nullable<T>
)
参数
- name
类型:System.String
The name of the property.
- defaultValue
类型:System.Nullable<T>
The default value of the property.