Modified version of http://resources.arcgis.com/en/help/windows-mobile-sdk/concepts/index.html#/New_Geometry_Collection_Workflow_extension/01sp0000003z000000/