XmlHierarchyConfigurator ConvertStringTo Method Apache log4net™ SDK Documentation
Converts a string value to a target type.

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

protected Object ConvertStringTo(
	Type type,
	string value
)

Parameters

type
Type: OnlineSystem Type
The type of object to convert the string to.
value
Type: OnlineSystem String
The string value to use as the value of the object.

Return Value

Type: OnlineObject

An object of type type with value value or null when the conversion could not be performed.

See Also