Culture-Sensitive VB.NET Method
using System
public Function CreateInstance(assemblyName As String, typeName As String) As ObjectHandle
public Function CreateInstance(assemblyName As String, typeName As String, activationAttributes As Object) As ObjectHandle
public Function CreateInstance(assemblyName As String, typeName As String, ignoreCase As Boolean, bindingAttr As BindingFlags, binder As Binder, args As Object(), culture As CultureInfo, activationAttributes As Object(), securityAttributes As Evidence) As ObjectHandle
Internationalization (I18n) Method Overview
The CreateInstance method creates a new instance of the specified type
defined in the specified
assembly. Parameters specify a binder, binding flags, constructor
arguments, culture-specific information used to interpret arguments,
activation attributes, and authorization to create the type. Classes AppDomain
and Activator support this method.
See Microsoft's
MSDN online documentation for more information.
I18n Issues
The method CreateInstance should be passed
a CultureInfo argument so that the interpretation of any number or date arguments will
be performed according to the passed in Culture.
Culture and Number Format Information
|