TypeConverter::ConvertFromString Method (String^)
.NET Framework (current version)
Converts the specified text to an object.
Assembly: System (in System.dll)
Parameters
- text
-
Type:
System::String^
The text representation of the object to convert.
| Exception | Condition |
|---|---|
| NotSupportedException | The string cannot be converted into the appropriate object. |
The default implementation always returns null.
For an example of this function, see the TypeConverter class.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: