Finds the specified match.
Declaration Syntax
C# |
public TValue Find( Predicate<TValue> match )
Return Value
Matched value
Examples
Copy | |
---|---|
// use a delegate to find a prim in the ObjectsPrimitives ObservableDictionary // 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)