MonobjcMonobjc Documented Class Library
CanCloseDocumentWithDelegateShouldCloseSelectorContextInfo Method (delegate, shouldCloseSelector, contextInfo)
NamespacesMonobjc.AppKitNSDocumentCanCloseDocumentWithDelegateShouldCloseSelectorContextInfo(Id, IntPtr, IntPtr)

If the receiver is not dirty, this method immediately calls the shouldCloseSelector callback on the specified delegate with YES.

Original signature is '- (void)canCloseDocumentWithDelegate:(id)delegate shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void CanCloseDocumentWithDelegateShouldCloseSelectorContextInfo(
	Id delegate,
	IntPtr shouldCloseSelector,
	IntPtr contextInfo
)
Public Overridable Sub CanCloseDocumentWithDelegateShouldCloseSelectorContextInfo ( _
	delegate As Id, _
	shouldCloseSelector As IntPtr, _
	contextInfo As IntPtr _
)
public:
virtual void CanCloseDocumentWithDelegateShouldCloseSelectorContextInfo(
	Id^ delegate, 
	IntPtr shouldCloseSelector, 
	IntPtr contextInfo
)
Parameters
delegate (Id)
The delegate to which the selector message is sent.
shouldCloseSelector (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)