Partager via


_Folders.Count Property

Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As _Folders
Dim value As Integer

value = instance.Count
[DispIdAttribute()]
int Count { get; }

Property Value

Type: System.Int32

See Also

Reference

_Folders Interface

_Folders Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Enumerate Folders

How to: Get a Default Folder and Enumerate Its Subfolders