c# api, walking bom tree

I'm looking for some help or samples on walking a bom tree?  I can get a BomView and see the rows.   How do I get the bom (if it exists) for each item?  I'd appreciate any help.

Thanks,

Jon

SolidworksSolidworks Pdm enterprise Pdm