Share via


SortedListCollection<T>.IMetadataCollection<IMetadataObject>.Count Property

Gets the number of elements in the collection.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Private ReadOnly Property Count As Integer
    Implements IMetadataCollection(Of IMetadataObject).Count
    Get
'Usage
Dim instance As SortedListCollection
Dim value As Integer

value = CType(instance, IMetadataCollection(Of IMetadataObject)).Count
int IMetadataCollection<IMetadataObject>.Count { get; }
private:
virtual property int Count {
    int get () sealed = IMetadataCollection<IMetadataObject^>::Count::get;
}
private abstract Count : int
private override Count : int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.Int32
The number of elements in the collection.

Implements

IMetadataCollection<T>.Count