The saveOptions method returns one of the following constants to indicate how to deal with saving any modified documents:
Available in Mac OS X v10.0 and later.
| C# | Visual Basic | Visual C++ |
public enum NSSaveOptions
Public Enumeration NSSaveOptions
public enum class NSSaveOptions
| Member | Description |
|---|---|
| NSSaveOptionsYes | Indicates a modified document should be saved on closing without asking the user. Available in Mac OS X v10.0 and later. |
| NSSaveOptionsNo | Indicates a modified document should not be saved on closing. Available in Mac OS X v10.0 and later. |
| NSSaveOptionsAsk | Indicates the user should be asked before saving any modified documents on closing. When no option is specified, this is the default. Available in Mac OS X v10.0 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)