ListField.GetItemCount(ShapeElement) Method

Definition

Gets the number of items in this list field.

public:
 int GetItemCount(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public int GetItemCount (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
member this.GetItemCount : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> int
Public Function GetItemCount (parentShape As ShapeElement) As Integer

Parameters

parentShape
ShapeElement

The ShapeElement to which this ShapeField belongs

Returns

Int32

The number of items in this list field.

Applies to