EnumProperty Constructor
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Creates a new instance of the EnumProperty class.
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
enumType As Type, _
defaultValue As Object, _
validValues As IList(Of Integer) _
)
'Usage
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>
)
Parameters
- name
Type: System.String
The name of the enumeration property.
- enumType
Type: System.Type
The enumeration type.
- defaultValue
Type: System.Object
The default value.
- validValues
Type: System.Collections.Generic.IList<Int32>
The valid values.