PowerTCP Mail for .NET
Count Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Attachments Class : Count Property




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

This object inherits from ArrayList and, as such, the Count property works similarly. Count is the number of elements actually in the collection, Capacity is the number of elements the collection is capable of storing. If Count exceeds Capacity while adding elements, Capacity is doubled.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.