IListFieldContainer.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
Function GetItemCount ( _
listField As ListField _
) As Integer
int GetItemCount(
ListField listField
)
int GetItemCount(
ListField^ listField
)
abstract GetItemCount :
listField:ListField -> int
function GetItemCount(
listField : ListField
) : int
Parameters
listField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ListFieldThe child list field requesting the number of items.
Return Value
Type: Int32
.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.