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.
- culture
- An integer representing the culture identifier.
- 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. It is recommended for your application to 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.