Share via


Count Propiedad

Gets the number of objects in the referenced collection.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property Count As Integer
    Get
'Uso
Dim instance As SmoCollectionBase
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
abstract Count : int
override Count : int
final function get Count () : int

Valor de la propiedad

Tipo: System. . :: . .Int32
An Int32 value that specifies the number of objects in the referenced collection.

Implementa

ICollection. . :: . .Count

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplos

Usar colecciones