MonobjcMonobjc Documented Class Library
SetFrameAutosaveName Method (frameName)
NamespacesMonobjc.AppKitNSWindowSetFrameAutosaveName(NSString)

Sets the name used to automatically save the window’s frame rectangle in the defaults system to a given name.

Original signature is '- (BOOL)setFrameAutosaveName:(NSString *)frameName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SetFrameAutosaveName(
	NSString frameName
)
Public Overridable Function SetFrameAutosaveName ( _
	frameName As NSString _
) As Boolean
public:
virtual bool SetFrameAutosaveName(
	NSString^ frameName
)
Parameters
frameName (NSString)
The name under which the frame is to be saved.
Return Value
YES when the frame name is set successfully; NO when frameName is being used as an autosave name by another NSWindow object in the application (in which case the window’s old name remains in effect).
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)