MonobjcMonobjc Documented Class Library
SetPath Method (path)
NamespacesMonobjc.AppKitNSBrowserSetPath(NSString)

Sets the path to be displayed by the browser.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SetPath(
	NSString path
)
Public Overridable Function SetPath ( _
	path As NSString _
) As Boolean
public:
virtual bool SetPath(
	NSString^ path
)
Parameters
path (NSString)
The path to display. If path is prefixed by the path separator, the path is absolute, containing the full path from the browser’s first column. Otherwise, the path is relative, extending the browser’s current path starting at the last column.
Return Value
YES if the given path is valid; 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.AppKit (Module: Monobjc.AppKit)