Bagikan melalui


ListCompartment.GetItemCount Method

Gets the number of items in the specified list field.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public MustOverride Function GetItemCount ( _
    listField As ListField _
) As Integer
public abstract int GetItemCount(
    ListField listField
)
public:
virtual int GetItemCount(
    ListField^ listField
) abstract
abstract GetItemCount : 
        listField:ListField -> int
public abstract function GetItemCount(
    listField : ListField
) : int

Parameters

Return Value

Type: Int32

Implements

IListFieldContainer.GetItemCount(ListField)

.NET Framework Security

See Also

Reference

ListCompartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace