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

声明
Public Overridable ReadOnly Property ItemCount As Integer
    Get
public virtual int ItemCount { get; }
public:
virtual property int ItemCount {
    int get ();
}
abstract ItemCount : int
override ItemCount : int
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

Microsoft.VisualStudio.Data.Framework Namespace