Converts the given string to the type of this converter, using the invariant culture and the specified context.
Public Function ConvertFromInvariantString ( _ context As ITypeDescriptorContext, _ text As String _ ) As Object
Dim instance As TypeConverter Dim context As ITypeDescriptorContext Dim text As String Dim returnValue As Object returnValue = instance.ConvertFromInvariantString(context, _ text)
public Object ConvertFromInvariantString( ITypeDescriptorContext context, string text )
public: Object^ ConvertFromInvariantString( ITypeDescriptorContext^ context, String^ text )
public function ConvertFromInvariantString( context : ITypeDescriptorContext, text : String ) : Object
The conversion cannot be performed.
An exception is raised if the string cannot be converted into the appropriate object. The default implementation always returns nullNothingnullptra null reference (Nothing in Visual Basic).
Use the context parameter to extract additional information about the environment from which this converter is invoked. This parameter can be nullNothingnullptra null reference (Nothing in Visual Basic), so always check it. Also, properties on the context object can return nullNothingnullptra null reference (Nothing in Visual Basic).
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98