DropDownCheckListInitializeFromEnum Method
Initializes the check list from an enumerated type.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
public void InitializeFromEnum(
Type enumType,
ResourceManager mgr,
string prefix = null,
string[] exclude = null
)
Parameters
- enumType Type
- The enumerated type.
- mgr ResourceManager
- The ResourceManager that holds the display text for each enumerated value.
- prefix String (Optional)
-
(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 String (Optional)
- (Optional) The excluded items from the enumerated type.