Konstruktor EnumProperty
Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Tworzy nowe wystąpienie EnumProperty klasy
Przestrzeń nazw: Microsoft.ReportingServices.RdlObjectModel
Zestaw: Microsoft.ReportingServices.Designer.Controls (w Microsoft.ReportingServices.Designer.Controls.dll)
Składnia
'Deklaracja
Public Sub New ( _
name As String, _
enumType As Type, _
defaultValue As Object, _
validValues As IList(Of Integer) _
)
'Użycie
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>
)
Parametry
- name
Typ: System.String
Nazwa właściwość enum.
- enumType
Typ: System.Type
Typ wyliczeniowy.
- defaultValue
Typ: System.Object
Wartość domyślna.
- validValues
Typ: System.Collections.Generic.IList<Int32>
Prawidłowe wartości.
Zobacz także