Converts a string value to a target type.
Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- type
- Type: SystemType
The type of object to convert the string to. - value
- Type: SystemString
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