Internationalization and localization tools


VB.NET Type Conversion

using System.ComponentModel

Public Function ConvertTo(value As Object, destinationType As Type) As Object

Public Function ConvertTo(context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

Internationalization (I18n) Method Overview

The ConvertTo method provides a unified way of converting types of values to other types, as well as for accessing standard values and sub-properties.

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

 

Lingoport internationalization and localization services and software