MonobjcMonobjc Documented Class Library
SubpathsOfDirectoryAtPathError Method (path, error)
NamespacesMonobjc.FoundationNSFileManagerSubpathsOfDirectoryAtPathError(NSString, NSError%)

Returns an array that contains the filenames of the items in the directory specified by a given path and all its subdirectories recursively.

Original signature is '- (NSArray *)subpathsOfDirectoryAtPath:(NSString *)path error:(NSError **)error'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray SubpathsOfDirectoryAtPathError(
	NSString path,
	out NSError error
)
Public Overridable Function SubpathsOfDirectoryAtPathError ( _
	path As NSString, _
	<OutAttribute> ByRef error As NSError _
) As NSArray
public:
virtual NSArray^ SubpathsOfDirectoryAtPathError(
	NSString^ path, 
	[OutAttribute] NSError^% error
)
Parameters
path (NSString)
The path of the directory to list.
error (NSError%)
If an error occurs, upon return contains an NSError object that describes the problem. Pass NULL if you do not want error information.
Return Value
An array that contains NSString objects representing the filenames of the items in the directory specified by path and all its subdirectories recursively. If path is a symbolic link, subpathsOfDirectoryAtPath:error: traverses the link. Returns nil if it cannot get the device of the linked-to file.
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)