Gets the number of elements actually contained in the collection.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overrides ReadOnly Property Count As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Attachments
Dim value As Integer
value = instance.Count |
| C# | |
|---|
public override int Count {get;} |
| Managed Extensions for C++ | |
|---|
public: __property int get_Count() override; |
| C++/CLI | |
|---|
public:
property int Count {
int get() override;
} |
Property Value
The number of elements actually contained in the collection.
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also