ConvertFromString Method
Collapse the table of content
Expand the table of content

TypeConverter.ConvertFromString Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts the specified text to an object.

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

'Declaration
Public Function ConvertFromString ( _
	text As String _
) As Object

Parameters

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 Nothing passed for context and culture.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft