Initializes a new System.Globalization.CompareInfo object that is associated with the specified culture and that uses string comparison methods in the specified System.Reflection.Assembly.
- name
- A string representing the culture name.
- assembly
- An System.Reflection.Assembly that contains the string comparison methods to use.
A new System.Globalization.CompareInfo object associated with the culture with the specified identifier and using string comparison methods in the current System.Reflection.Assembly.
The behavior of this method is unpredictable. We recommend that you use a version of this method that does not take an assembly input.
The assembly parameter must be of the same type as System.Reflection.Module.Assembly.