Retrieves the number of items in the collection.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Public Class SomeType1
End Class
Public Class SomeType2
End Class
Dim readOnlyKeyedCollection1 As ReadOnlyKeyedCollection(Of SomeType1, SomeType2)
Dim returnValue As Integer
returnValue = readOnlyKeyedCollection1.Count
|
Syntax
Visual Basic |
Public Overridable ReadOnly Property Count() As Integer
|
C# |
public virtual int Count {get;}
|
C++ |
public:
property virtual int Count {
int get();
}
|
J# |
public int get_Count();
|
JScript |
JScript does not support Generics.
|
Property Value
The number of items in the collection.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server
2003, Windows Vista, and Windows 2000
Target Platforms
See Also