Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: T? ParseEnum<T>(string, bool)

  • Declared in: RT.Util.Ut

Declaration

public static T? ParseEnum<T>(
    string value,
    bool ignoreCase = false
)

Summary

Returns the enum value represented by the specified string, or null if the string does not represent a valid enum value.

Generic type parameters

T
  • Must derive from: System.ValueType.
  • Must have a default constructor.
  • Must be a non-nullable value type.
This type parameter is not documented.