MonobjcMonobjc Documented Class Library
OpenDocument Method (sender)

An action method invoked by the Open menu command, it runs the modal Open panel and, based on the selected filenames, creates one or more NSDocument objects from the contents of the files.

Original signature is '- (IBAction)openDocument:(id)sender'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void OpenDocument(
	Id sender
Public Overridable Sub OpenDocument ( _
	sender As Id _
virtual void OpenDocument(
	Id^ sender
sender (Id)
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)