Share via


DataReader.ItemCount Property

Gets the number of items in the current block of data.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ItemCount As Integer
'Usage
Dim instance As DataReader 
Dim value As Integer 

value = instance.ItemCount
public virtual int ItemCount { get; }
public:
virtual property int ItemCount {
    int get ();
}
public function get ItemCount () : int

Property Value

Type: System.Int32
An integer value indicating the number of items in the current block of data.

Implements

IVsDataReaderDescriptor.ItemCount

Remarks

Notes to Inheritors:

The base implementation returns -1.

.NET Framework Security

See Also

Reference

DataReader Class

DataReader Members

Microsoft.VisualStudio.Data.Framework Namespace