ShapeElement.IterateShapes(IShapeIterator) 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.
A method to help iterator through a shape and all its child shapes. The method will recursively go through all the child shapes of this shape and call the given iterator with each shape encountered. Note: The base implementation is that the traversal is depth-first, and NestedChildShapes are iterated before RelativeChildShapes.
public:
virtual void IterateShapes(Microsoft::VisualStudio::Modeling::Diagrams::IShapeIterator ^ iterator);
public virtual void IterateShapes (Microsoft.VisualStudio.Modeling.Diagrams.IShapeIterator iterator);
abstract member IterateShapes : Microsoft.VisualStudio.Modeling.Diagrams.IShapeIterator -> unit
override this.IterateShapes : Microsoft.VisualStudio.Modeling.Diagrams.IShapeIterator -> unit
Public Overridable Sub IterateShapes (iterator As IShapeIterator)
Parameters
- iterator
- IShapeIterator
A shape iterator that will be called with each iterated shapes.