MonobjcMonobjc Documented Class Library
DisplayNameAtPath Method (path)
NamespacesMonobjc.FoundationNSFileManagerDisplayNameAtPath(NSString)

Returns the name of the file or directory at a given path in a localized form appropriate for presentation to the user.

Original signature is '- (NSString *)displayNameAtPath:(NSString *)path'

Available in Mac OS X v10.1 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString DisplayNameAtPath(
	NSString path
)
Public Overridable Function DisplayNameAtPath ( _
	path As NSString _
) As NSString
public:
virtual NSString^ DisplayNameAtPath(
	NSString^ path
)
Parameters
path (NSString)
The path of a file or directory.
Return Value
The name of the file or directory at path in a localized form appropriate for presentation to the user. If there is no file or directory at path, or if an error occurs, returns path as is.
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)