System.ComponentModel.ReferenceConverter.ReferenceComparer.Compare C# (CSharp) 메소드

Compare() 공개 메소드

public Compare ( object item1, object item2 ) : int
item1 object
item2 object
리턴 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