Converts a string value to a target type.
Namespace: log4net.Repository.HierarchyAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- type
- Type: System Type
The type of object to convert the string to.
- value
- Type: System String
The string value to use as the value of the object.
Return Value
Type: ObjectAn object of type type with value value or null when the conversion could not be performed.
See Also