ElementListCompartment.GetItemCount Method
Gets the number of items in the specified list field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Overrides Function GetItemCount ( _
listField As ListField _
) As Integer
public override int GetItemCount(
ListField listField
)
public:
virtual int GetItemCount(
ListField^ listField
) override
abstract GetItemCount :
listField:ListField -> int
override GetItemCount :
listField:ListField -> int
public override function GetItemCount(
listField : ListField
) : int
Parameters
- listField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ListField
The child list field requesting the number of items.
Return Value
Type: System.Int32
Implements
IListFieldContainer.GetItemCount(ListField)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.