MonobjcMonobjc Documented Class Library
ForEach<(Of <(<'T>)>)> Method (action)
NamespacesMonobjc.FoundationNSArrayForEach<(Of <<'(T>)>>)(Action<(Of <<'(T>)>>))
Performs the specified action on each element of the NSArray.
Declaration Syntax
C#Visual BasicVisual C++
public virtual void ForEach<T>(
	Action<T> action
)
where T : class, IManagedWrapper
Public Overridable Sub ForEach(Of T As {Class, IManagedWrapper}) ( _
	action As Action(Of T) _
)
public:
generic<typename T>
where T : ref class, IManagedWrapper
virtual void ForEach(
	Action<T>^ action
)
Generic Template Parameters
T
The parametric type
Parameters
action (Action<(Of <(<'T>)>)>)
The [!:Action{T}] delegate to perform on each element of the NSArray.
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)