NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TypeConverter.ConvertFromString (String)

Converts the specified text into an object.

[Visual Basic]
Overloads Public Function ConvertFromString( _
   ByVal text As String _
) As Object
[C#]
public object ConvertFromString(
   string text
);
[C++]
public: Object* ConvertFromString(
   String* text
);
[JScript]
public function ConvertFromString(
   text : String
) : Object;

Parameters

text
The text representation of the object to convert.

Return Value

A new Object with the value of the string.

A new object that the string contents represent.

Exceptions

Exception Type Condition
GetConvertFromException(System.Object) The string could not be converted into the appropriate object.

Remarks

An exception will be raised if the string cannot be converted into the appropriate object.

The default implementation always returns null.

See Also

TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace | TypeConverter.ConvertFromString Overload List