MonobjcMonobjc Documented Class Library
NewDocument Method (sender)
NamespacesMonobjc.AppKitNSDocumentControllerNewDocument(Id)

An action method invoked by the New menu command, this method creates a new NSDocument object and adds it to the list of such objects managed by the document controller.

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

Available in Mac OS X v10.0 and later.

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