MonobjcMonobjc Documented Class Library
LockBeforeDate Method (limit)
NamespacesMonobjc.FoundationNSConditionLockLockBeforeDate(NSDate)

Attempts to acquire a lock before a specified moment in time.

Original signature is '- (BOOL)lockBeforeDate:(NSDate *)limit'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool LockBeforeDate(
	NSDate limit
)
Public Overridable Function LockBeforeDate ( _
	limit As NSDate _
) As Boolean
public:
virtual bool LockBeforeDate(
	NSDate^ limit
)
Parameters
limit (NSDate)
The date by which the lock must be acquired or the attempt will time out.
Return Value
YES if the lock is acquired within the time limit, NO otherwise.
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)