Share via


ListContractAdapter<TContract>.GetCount Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Returns the number of elements in the list that this instance encompasses.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Protected Overridable Function GetCount As Integer
'Usage
Dim returnValue As Integer 

returnValue = Me.GetCount()
protected virtual int GetCount()
protected:
virtual int GetCount()
protected function GetCount() : int

Return Value

Type: System.Int32
The number of elements in the list that this instance encompasses.

See Also

Reference

ListContractAdapter<TContract> Class

ListContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace