IShapeIterator.OnShape(ShapeElement) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is called when a new shape is encountered during the iteration.
public:
 void OnShape(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape);
	public void OnShape(Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape);
	abstract member OnShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> unit
	Public Sub OnShape (shape As ShapeElement)
	Parameters
- shape
 - ShapeElement
 
Shape encountered during iteration.