Presents a modal Save panel to the user, then tries to save the document if the user approves the panel.
Original signature is '- (void)runModalSavePanelForSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void RunModalSavePanelForSaveOperationDelegateDidSaveSelectorContextInfo( NSSaveOperationType saveOperation, Id delegate, IntPtr didSaveSelector, IntPtr contextInfo )
Public Overridable Sub RunModalSavePanelForSaveOperationDelegateDidSaveSelectorContextInfo ( _ saveOperation As NSSaveOperationType, _ delegate As Id, _ didSaveSelector As IntPtr, _ contextInfo As IntPtr _ )
public: virtual void RunModalSavePanelForSaveOperationDelegateDidSaveSelectorContextInfo( NSSaveOperationType saveOperation, Id^ delegate, IntPtr didSaveSelector, IntPtr contextInfo )
Parameters
- 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)