get_SortKeyVariant() public method

public get_SortKeyVariant ( string bstrValue, LgCollatingOptions colopt ) : object
bstrValue string
colopt LgCollatingOptions
return object
		public void GeneralTestWithTwoDifferentWs()
		{
			using (var icuCollator1 = new ManagedLgIcuCollator())
			{
				icuCollator1.Open("en");
				var options = new LgCollatingOptions();
				object result1 = icuCollator1.get_SortKeyVariant("test", options);
				using (var icuCollator2 = new ManagedLgIcuCollator())
				{
					icuCollator2.Open("fr");
					object result2 = icuCollator2.get_SortKeyVariant("test", options);
				}
			}
		}
Exemplo n.º 2
0
 public void GeneralTestWithTwoDifferentWs()
 {
     using (var icuCollator1 = new ManagedLgIcuCollator())
     {
         icuCollator1.Open("en");
         var    options = new LgCollatingOptions();
         object result1 = icuCollator1.get_SortKeyVariant("test", options);
         using (var icuCollator2 = new ManagedLgIcuCollator())
         {
             icuCollator2.Open("fr");
             object result2 = icuCollator2.get_SortKeyVariant("test", options);
         }
     }
 }