Partager via


DataReader.ItemCount, propriété

Obtient le nombre d'éléments dans le bloc actuel de données.

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Public Overridable ReadOnly Property ItemCount As Integer
public virtual int ItemCount { get; }
public:
virtual property int ItemCount {
    int get ();
}
abstract ItemCount : int with get 
override ItemCount : int with get
function get ItemCount () : int

Valeur de propriété

Type : Int32
Valeur entière indiquant le nombre d'éléments dans le bloc actuel de données.

Implémentations

IVsDataReaderDescriptor.ItemCount

Notes

Remarques à l'attention des héritiers

Retourne l'implémentation de base -1.

Sécurité .NET Framework

Voir aussi

Référence

DataReader Classe

Microsoft.VisualStudio.Data.Framework, espace de noms