Content Studio Web Content Management System
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
The parsed value as an enumeration
[This is preliminary documentation and is subject to change.]
Parses a string as a specified enum-type.
Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- value
- Type: SystemString
The value to parse.
Type Parameters
- T
- The type of enum to return
Return Value
Type: TThe parsed value as an enumeration
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | cannot be null. |
ArgumentException | Type parameter T is not an enum - or - the passed in string value is not a member of the specified enumeration. |
See Also