MonobjcMonobjc Documented Class Library
ChangeCurrentDirectoryPath Method (path)
NamespacesMonobjc.FoundationNSFileManagerChangeCurrentDirectoryPath(NSString)

Changes the path of the current directory for the current process to a given path.

Original signature is '- (BOOL)changeCurrentDirectoryPath:(NSString *)path'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ChangeCurrentDirectoryPath(
	NSString path
)
Public Overridable Function ChangeCurrentDirectoryPath ( _
	path As NSString _
) As Boolean
public:
virtual bool ChangeCurrentDirectoryPath(
	NSString^ path
)
Parameters
path (NSString)
The path of the directory to which to change.
Return Value
YES if successful, otherwise NO.
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)