ListField.GetItemCount(ShapeElement) 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.
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
The number of items in this list field.