XmlConfiguratonOperatorConvertStringTo Method |
Converts a string to an object.
Namespace: X3Platform.ConfigurationAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static Object ConvertStringTo(
Type target,
string value
)
public:
static Object^ ConvertStringTo(
Type^ target,
String^ value
)
Parameters
- target
- Type: SystemType
The target type to convert to. - value
- Type: SystemString
[Missing <param name="value"/> documentation for "M:X3Platform.Configuration.XmlConfiguratonOperator.ConvertStringTo(System.Type,System.String)"]
Return Value
Type:
Object
The object converted from a string or
null when the
conversion failed.
Remarks
Converts a string to an object. Uses the converter registry to try
to convert the string value into the specified target type.
See Also