| EnumToValuesConverterConvert Method (Type, String) |
Converts the specified enum-type into an array of the individual enum values.
Namespace:
TomsToolbox.Wpf.Converters
Assembly:
TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax public static Array Convert(
Type? type,
string? excluded = null
)
Public Shared Function Convert (
type As Type,
Optional excluded As String = Nothing
) As Array
Parameters
- type
- Type: SystemType
The enum type. - excluded (Optional)
- Type: SystemString
A comma separated list of values to exclude.
Return Value
Type:
ArrayAn array of the enum's values.
See Also