Beispiel #1
0
    public int CompareTo(object obj)
    {
        GPhotoCameraFile f2 = obj as GPhotoCameraFile;
        int result          = Directory.CompareTo(f2.Directory);

        if (result == 0)
        {
            result = FileName.CompareTo(f2.FileName);
        }
        return(result);
    }