Hii i have a visio document which is an BPMN template .In that BPMN document i have placed a BPMN shape and also other shapes from Engineering,FLowChart,Networking,Basic shapes etc by choosing Moreshapes->
and so my BPMN visio document looks like below

in that BPMN and Task named are a BPMN shapes,Computer is a shape from Network->Computer ,Rectangle is from General->BasicShapes like that the other shape also . (ie) In a BPMN visio document , with the BPMN shape i have the other shapes also.
How to identify the shape parent in c#..???
eg: BPMN named shape is shape from BPMN. Task named shape is shape from BPMN. computer named shape is shape from Network. Rectangle named shape is shape from General.