MonobjcMonobjc Documented Class Library
NewDocument Method (sender)

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 _
virtual void NewDocument(
	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)