Culture-Sensitive C# Method
using System
public ObjectHandle CreateInstance(string assemblyName, string typeName);
public ObjectHandle CreateInstance(string assemblyName, string typeName, Object[] activationAttributes);
public ObjectHandle CreateInstance(string assemblyName, string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityAttributes);
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
|