MonobjcMonobjc Documented Class Library
PanelValidateURLError Method (sender, url, outError)
NamespacesMonobjc.AppKitINSOpenSavePanelDelegatePanelValidateURLError(Id, NSURL, NSError%)

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 BasicVisual C++
bool PanelValidateURLError(
	Id sender,
	NSURL url,
	out NSError outError
)
Function PanelValidateURLError ( _
	sender As Id, _
	url As NSURL, _
	<OutAttribute> ByRef outError As NSError _
) As Boolean
bool PanelValidateURLError(
	Id^ sender, 
	NSURL^ url, 
	[OutAttribute] NSError^% outError
)
Parameters
sender (Id)
The panel requesting URL validation.
url (NSURL)
The URL to be validated.
outError (NSError%)
If an error occurred during validation, the error that occurred.
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)