Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TypeConverter.ConvertFromInvariantString Method (String)


Converts the given string to the type of this converter, using the invariant culture.

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

member ConvertFromInvariantString : 
        text:string -> Object


Type: System.String

The String to convert.

Return Value

Type: System.Object

An Object that represents the converted text.

Exception Condition

The conversion cannot be performed.

The default implementation always returns null.

.NET Framework
Available since 1.1
Return to top
© 2017 Microsoft