VB.NET Type Conversion
using System.ComponentModel
Public Function ConvertFromString(text As String) As Object
Public Function ConvertFromString(context As ITypeDescriptorContext, text As String) As Object
Public Function ConvertFromString(context As ITypeDescriptorContext, CultureInfo culture, text As String) As Object
Internationalization (I18n) Method Overview
The ConvertFromString method converts the given text to an object, using the specified context
and culture information.
For more information see Microsoft's
MSDN online documentation.
I18n Issues
Pass in CultureInfo to ensure that any culture-dependent conversion is done properly.
If you determine that the call is i18n-safe, you can use Globalyzer's
Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.
VB.NET Type Conversions
|