Creates and returns an NSDirectoryEnumerator object that enumerates the contents of the directory at a given path.
Original signature is '- (NSDirectoryEnumerator *)enumeratorAtPath:(NSString *)path'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSDirectoryEnumerator EnumeratorAtPath( NSString path )
Public Overridable Function EnumeratorAtPath ( _ path As NSString _ ) As NSDirectoryEnumerator
public: virtual NSDirectoryEnumerator^ EnumeratorAtPath( NSString^ path )
Parameters
- path (NSString)
- The path of the directory to enumerate.
Return Value
An NSDirectoryEnumerator object that enumerates the contents of the directory at path. If path is a filename, the method returns an enumerator object that enumerates no files—the first call to nextObject will return nil.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)