MonobjcMonobjc Documented Class Library
AttributesOfItemAtPathError Method (path, error)
NamespacesMonobjc.FoundationNSFileManagerAttributesOfItemAtPathError(NSString, NSError%)

Returns the attributes of the item at a given path.

Original signature is '- (NSDictionary *)attributesOfItemAtPath:(NSString *)path error:(NSError **)error'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSDictionary AttributesOfItemAtPathError(
	NSString path,
	out NSError error
)
Public Overridable Function AttributesOfItemAtPathError ( _
	path As NSString, _
	<OutAttribute> ByRef error As NSError _
) As NSDictionary
public:
virtual NSDictionary^ AttributesOfItemAtPathError(
	NSString^ path, 
	[OutAttribute] NSError^% error
)
Parameters
path (NSString)
The path of a file or directory.
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 NSDictionary object that describes the attributes (file, directory, symlink, and so on) of the file specified by path. The keys in the dictionary are described in “File Attribute Keys”.
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)