MonobjcMonobjc Documented Class Library
ConnectionShouldMakeNewConnection Method (parentConnection, newConnnection)
NamespacesMonobjc.FoundationINSConnectionDelegateConnectionShouldMakeNewConnection(NSConnection, NSConnection)

Returns a Boolean value that indicates whether the parent connection should allow a given new connection to be created.

Original signature is '- (BOOL)connection:(NSConnection *)parentConnection shouldMakeNewConnection:(NSConnection *)newConnnection'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool ConnectionShouldMakeNewConnection(
	NSConnection parentConnection,
	NSConnection newConnnection
)
Function ConnectionShouldMakeNewConnection ( _
	parentConnection As NSConnection, _
	newConnnection As NSConnection _
) As Boolean
bool ConnectionShouldMakeNewConnection(
	NSConnection^ parentConnection, 
	NSConnection^ newConnnection
)
Parameters
parentConnection (NSConnection)
The connection object for which the receiver is the delegate.
newConnnection (NSConnection)
The new connection.
Return Value
YES if parentConnection should allow newConnnection to be created and set up, NO if parentConnection should refuse and immediately release newConnection.
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.Foundation (Module: Monobjc.Foundation)