MonobjcMonobjc Documented Class Library
EnumerateObjectsUsingBlock Method (block)
NamespacesMonobjc.FoundationNSArrayEnumerateObjectsUsingBlock(Action<(Of <<'(Id, NSUInteger, IntPtr>)>>))

Executes a given block using each object in the array, starting with the first object and continuing through the array to the last object.

Original signature is '- (void)enumerateObjectsUsingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void EnumerateObjectsUsingBlock(
	Action<Id, NSUInteger, IntPtr> block
)
Public Overridable Sub EnumerateObjectsUsingBlock ( _
	block As Action(Of Id, NSUInteger, IntPtr) _
)
public:
virtual void EnumerateObjectsUsingBlock(
	Action<Id^, NSUInteger, IntPtr>^ block
)
Parameters
block (Action<(Of <(<'Id, NSUInteger, IntPtr>)>)>)
The block to apply to elements in the array.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)