2 Replies Latest reply on Apr 3, 2013 1:49 AM by J.Kahl

    How to know if an object is a File or a Folder ?

    4everJang Level 3

      Hello again,


      I am looking for an easy method to determine whether a File or Folder object point to an actual file or to a folder. Both objects seem to have the same set of properties, except the File element has more. But the Data Browser in the ESTK refuses to show the contents of a File object when I have not actively retrieved the properties yet. Is this simply a matter of testing whether a file-related property exists in the object? Is there another, more elegant method, an undocumented feature, for instance a property IsFolder or something similar ?