Partager via


ElementListCompartment.GetItemCount(ListField) Method

Definition

Gets the number of items in the specified list field.

public:
 override int GetItemCount(Microsoft::VisualStudio::Modeling::Diagrams::ListField ^ listField);
public override int GetItemCount (Microsoft.VisualStudio.Modeling.Diagrams.ListField listField);
override this.GetItemCount : Microsoft.VisualStudio.Modeling.Diagrams.ListField -> int
Public Overrides Function GetItemCount (listField As ListField) As Integer

Parameters

listField
ListField

The child list field requesting the number of items.

Returns

The number of items in the specified list field.

Applies to