EnumProperty Constructor
Esta API es compatible con la infraestructura de .NET Framework y no se diseñó para usarse directamente desde el código.
Creates a new instance of the EnumProperty class.
Espacio de nombres: Microsoft.ReportingServices.RdlObjectModel
Ensamblado: Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)
Sintaxis
'Declaración
Public Sub New ( _
name As String, _
enumType As Type, _
defaultValue As Object, _
validValues As IList(Of Integer) _
)
'Uso
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>
)
Parámetros
- name
Tipo: System. . :: . .String
The name of the enum property.
- enumType
Tipo: System. . :: . .Type
The enumeration type.
- defaultValue
Tipo: System. . :: . .Object
The default value.
- validValues
Tipo: System.Collections.Generic. . :: . .IList< (Of < ( <'Int32> ) > ) >
The valid values.
Vea también