Converts the specified string value to the corresponding enumeration member of the specified type.
Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf
C# Copy Code |
---|
public static Object ToEnum ( |
Visual Basic Copy Code |
---|
Public Shared Function ToEnum( _ |
The type of the enumeration to convert to.
The string value to convert from.
A member of the specified enumeration that is deserialized from the specified string, possibly a null reference (Nothing in Visual Basic) if the deserialization fails.