ElementListCompartment.GetItemCount(ListField) 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 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.