Determining DirectoryItem Type
Hello Everyone and thanks for your help in advance. I am developing a directory browser for a web application and am using the DirectoryItems attribute to return an array of all particular items in a directory. However, I am having problems figuring out which items in the array are direcotries and which are actual files. I know I could use GetFiles to return the array of files in the directory, but doing this would require me to do to separate loops. Is there any way to determine what type of item each one is? Any help with this would be greatly appreciated. Thanks.