OpenMetaverse Protocol Library Developers API Documentation
Find Method (match)
NamespacesOpenMetaverse InternalDictionary < (Of < ( <' TKey, TValue > ) > ) > Find(Predicate < (Of < <' ( TValue > ) > > ) )
Finds the specified match.
Declaration Syntax
C#
public TValue
Find(

Predicate<TValue>
match
)
Parameters
match ( Predicate < (Of < ( <' TValue > ) > ) > )
The match.
Return Value
Matched value
Examples
  Copy imageCopy
// use a delegate to find a prim in
the ObjectsPrimitives InternalDictionary
// with the ID 95683496
uint findID =
95683496;
Primitive findPrim = sim.ObjectsPrimitives.Find(

delegate(Primitive prim) {
return prim.ID == findID;
});

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