MonobjcMonobjc Documented Class Library
SaveToURLOfTypeForSaveOperationDelegateDidSaveSelectorContextInfo Method (absoluteURL, typeName, saveOperation, delegate, didSaveSelector, contextInfo)
NamespacesMonobjc.AppKitNSDocumentSaveToURLOfTypeForSaveOperationDelegateDidSaveSelectorContextInfo(NSURL, NSString, NSSaveOperationType, Id, IntPtr, IntPtr)

Saves the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation.

Original signature is '- (void)saveToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SaveToURLOfTypeForSaveOperationDelegateDidSaveSelectorContextInfo(
	NSURL absoluteURL,
	NSString typeName,
	NSSaveOperationType saveOperation,
	Id delegate,
	IntPtr didSaveSelector,
	IntPtr contextInfo
)
Public Overridable Sub SaveToURLOfTypeForSaveOperationDelegateDidSaveSelectorContextInfo ( _
	absoluteURL As NSURL, _
	typeName As NSString, _
	saveOperation As NSSaveOperationType, _
	delegate As Id, _
	didSaveSelector As IntPtr, _
	contextInfo As IntPtr _
)
public:
virtual void SaveToURLOfTypeForSaveOperationDelegateDidSaveSelectorContextInfo(
	NSURL^ absoluteURL, 
	NSString^ typeName, 
	NSSaveOperationType saveOperation, 
	Id^ delegate, 
	IntPtr didSaveSelector, 
	IntPtr contextInfo
)
Parameters
absoluteURL (NSURL)
The location of the file or file package to which the document contents are saved.
typeName (NSString)
The string that identifies the document type.
saveOperation (NSSaveOperationType)
The type of save operation.
delegate (Id)
The delegate to which the selector message is sent.
didSaveSelector (IntPtr)
The selector of the message sent to the delegate.
contextInfo (IntPtr)
Object passed with the callback to provide any additional context information.
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)