Share via


IShapeIterator.OnShape Method

This method is called when a new shape is encountered during the iteration.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Sub OnShape ( _
    shape As ShapeElement _
)
void OnShape(
    ShapeElement shape
)
void OnShape(
    ShapeElement^ shape
)
abstract OnShape : 
        shape:ShapeElement -> unit
function OnShape(
    shape : ShapeElement
)

Parameters

.NET Framework Security

See Also

Reference

IShapeIterator Interface

Microsoft.VisualStudio.Modeling.Diagrams Namespace