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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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.ShapeElement
Shape 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.