TypeConverter.ConvertFromString Method

July 28, 2014

Converts the specified text to an object.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

public Object ConvertFromString(
	string text


Type: System.String
The text representation of the object to convert.

Return Value

Type: System.Object
An object that represents the converted text string.

A call to this method forwards the call to ConvertFrom, with null passed for context and culture.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft