语言

EnumProperty(String, Type, Object, IList<Int32>) 构造函数

定义

创建类的新实例 EnumProperty 。

public:
 EnumProperty(System::String ^ name, Type ^ enumType, System::Object ^ defaultValue, System::Collections::Generic::IList<int> ^ validValues);
public EnumProperty(string name, Type enumType, object defaultValue, System.Collections.Generic.IList<int> validValues);
new Microsoft.ReportingServices.RdlObjectModel.EnumProperty : string * Type * obj * System.Collections.Generic.IList<int> -> Microsoft.ReportingServices.RdlObjectModel.EnumProperty
Public Sub New (name As String, enumType As Type, defaultValue As Object, validValues As IList(Of Integer))

参数

name
String

枚举属性的名称。

enumType
Type

枚举类型。

defaultValue
Object

默认的值。

validValues
IList<Int32>

有效的价值观。

适用于