For NSSavePanel delegates, asks the delegate for file URL validation when the user chooses the Save button. For NSOpenPanel delegates, asks the delegate for file URL validation once for each selected filename (or directory) when the user chooses the Open button.
Original signature is '- (BOOL)panel:(id)sender validateURL:(NSURL *)url error:(NSError **)outError'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Return Value
YES if the URL is an acceptable URL to save to or to open; otherwise, NO.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)