Culture-Sensitive VB.NET Method
using System
public Function CreateInstanceFrom(assemblyFile As String, typeName As String) As ObjectHandle
public Function CreateInstanceFrom(assemblyFile As String, typeName As String, activationAttributes As Object()) As ObjectHandle
public Function CreateInstanceFrom(assemblyFile 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 CreateInstanceFrom method creates a new instance of the type whose name is specified, using the named assembly file
and the constructor that best matches the arguments. Classes Activator and AppDomain support this method.
See Microsoft's
MSDN online documentation for more information.
I18n Issues
The method CreateInstanceFrom
should be passed a CultureInfo argument to ensure that any culture-sensitive arguments, such
as dates or numbers, are interpreted properly.
Culture and Number Format Information
|