System.ComponentModel.ReferenceConverter.ReferenceComparer.Compare C# (CSharp) Méthode

Compare() public méthode

public Compare ( object item1, object item2 ) : int
item1 object
item2 object
Résultat int
            public int Compare(object item1, object item2)
            {
                String itemName1 = _converter.ConvertToString(item1);
                String itemName2 = _converter.ConvertToString(item2);

                return string.Compare(itemName1, itemName2, false, CultureInfo.InvariantCulture);
            }
        }
ReferenceConverter.ReferenceComparer