StructFindKey

"-->
 StructFindKey (top, value, scope) 

Description

Performs a recursive search through a substructure of nested arrays, structures, and other elements for structures whose values match the search key in the value parameter. scope can be set as one or all.

Example

 <cfscript>     Products = StructNew();     StructInsert(Products, "ProductName", "Blizzard Blender");     StructInsert(Products, "ProductID", 1001);     StructInsert(Products, "SKU", "555-6582");  </cfscript>  <cfoutput>  The product name is #StructFindKey(Products, "SKU")#.  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net