EnumProperty 构造函数

此 API 支持 基础结构,但不能通过代码直接使用。

Creates a new instance of the EnumProperty class.

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Sub New ( _
    name As String, _
    enumType As Type, _
    defaultValue As Object, _
    validValues As IList(Of Integer) _
)
用法
Dim name As String
Dim enumType As Type
Dim defaultValue As Object
Dim validValues As IList(Of Integer)

Dim instance As New EnumProperty(name, enumType, _
    defaultValue, validValues)
public EnumProperty(
    string name,
    Type enumType,
    Object defaultValue,
    IList<int> validValues
)
public:
EnumProperty(
    String^ name, 
    Type^ enumType, 
    Object^ defaultValue, 
    IList<int>^ validValues
)
new : 
        name:string * 
        enumType:Type * 
        defaultValue:Object * 
        validValues:IList<int> -> EnumProperty
public function EnumProperty(
    name : String, 
    enumType : Type, 
    defaultValue : Object, 
    validValues : IList<int>
)

参数