 | DropDownCheckListInitializeFromEnum Method |
Initializes the check list from an enumerated type.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntaxpublic void InitializeFromEnum(
Type enumType,
ResourceManager mgr,
string prefix = null,
string[] exclude = null
)
Public Sub InitializeFromEnum (
enumType As Type,
mgr As ResourceManager,
Optional prefix As String = Nothing,
Optional exclude As String() = Nothing
)
public:
void InitializeFromEnum(
Type^ enumType,
ResourceManager^ mgr,
String^ prefix = nullptr,
array<String^>^ exclude = nullptr
)
Request Example
View SourceParameters
- enumType
- Type: SystemType
The enumerated type. - mgr
- Type: System.ResourcesResourceManager
The ResourceManager that holds the display text for each enumerated value. - prefix (Optional)
- Type: SystemString
(Optional) The prefix used in front of the enumeration value to pull from the resource file. If null, then this value defaults to the name of
the enumerated type specified by enumType.
- exclude (Optional)
- Type: SystemString
(Optional) The excluded items from the enumerated type.
See Also