The following tables list the members exposed by StringConverter.
Name | Description | |
---|---|---|
![]() | StringConverter Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | Add<TYPE> | Adds a converter for the type TYPE that can transform the TYPE to and from a string |
![]() | FromString<TYPE> | Converts the provided string to a value of TYPE if the type is registered, or raises ArgumentOutOfRangeException if no transform is registered for that type. Throws an ArgumentException if the string can not be converted. |
![]() | Remove<TYPE> | Removes the TYPE from the set of types allowed to be converted to and from strings. |
![]() | ToString | Overloaded. Converts an object to a string if the type is registered, or ArgumentOutOfRangeException is thrown if no transform is registered for that type. |
![]() | TryParse | Overloaded. Converts the provided string to a value of TYPE if the type is registered, or raises ArgumentOutOfRangeException if no transform is registered for that type. |
Reference
StringConverter ClassCSharpTest.Net.Utils Namespace