共用方式為


ColorProperty 建構函式

Initializes a new instance of the ColorProperty class.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Sub New ( _
    name As String, _
    defaultValue As Nullable(Of ReportColor) _
)
'用途
Dim name As String 
Dim defaultValue As Nullable(Of ReportColor)

Dim instance As New ColorProperty(name, defaultValue)
public ColorProperty(
    string name,
    Nullable<ReportColor> defaultValue
)
public:
ColorProperty(
    String^ name, 
    Nullable<ReportColor> defaultValue
)
new : 
        name:string * 
        defaultValue:Nullable<ReportColor> -> ColorProperty
public function ColorProperty(
    name : String, 
    defaultValue : Nullable<ReportColor>
)

參數

請參閱

參考

ColorProperty 類別

Microsoft.ReportingServices.RdlObjectModel 命名空間