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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementShape encountered during iteration.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.