MonobjcMonobjc Documented Class Library
SelectFileInFileViewerRootedAtPath Method (fullPath, rootFullPath)
NamespacesMonobjc.AppKitNSWorkspaceSelectFileInFileViewerRootedAtPath(NSString, NSString)

Selects the file specified by fullPath.

Original signature is '- (BOOL)selectFile:(NSString *)fullPath inFileViewerRootedAtPath:(NSString *)rootFullPath'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SelectFileInFileViewerRootedAtPath(
	NSString fullPath,
	NSString rootFullPath
)
Public Overridable Function SelectFileInFileViewerRootedAtPath ( _
	fullPath As NSString, _
	rootFullPath As NSString _
) As Boolean
public:
virtual bool SelectFileInFileViewerRootedAtPath(
	NSString^ fullPath, 
	NSString^ rootFullPath
)
Parameters
fullPath (NSString)
The full path of the file to select.
rootFullPath (NSString)
If a path is specified, a new file viewer is opened. If you specify an empty string (@"") for this parameter, the file is selected in the main viewer.
Return Value
YES if the file was successfully selected; 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)