OpenMetaverse Protocol Library Developers API Documentation
ForEach Method (action)
NamespacesOpenMetaverse InternalDictionary < (Of < ( <' TKey, TValue > ) > ) > ForEach(Action < (Of < <' ( TValue > ) > > ) )
Perform an on each entry in an
Declaration Syntax
C#
public 
void 
ForEach(
        
Action<TValue> 
action
)
Parameters
action ( Action < (Of < ( <' TValue > ) > ) > )
to perform
Examples
  Copy imageCopy
// Iterates over the
ObjectsPrimitives InternalDictionary and prints out some
information.
Client.Network.CurrentSim.ObjectsPrimitives.ForEach(
    
delegate(Primitive prim)
    {
        
if (prim.Text != 
null)
        {
            Console.WriteLine(
"NAME={0} ID = {1} TEXT =
'{2}'", 
                prim.PropertiesFamily.Name, prim.ID, prim.Text);
        }
    });
See Also
Action
InternalDictionary
Action

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)