System.MessageStore.Folder.name property

[The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]

Gets the Windows Mail (formerly Outlook Express) folder name.

This property is read-only.

Syntax

strname = System.MessageStore.Folder.name

Property value

A String that receives the folder name.

Remarks

Folders exposes the Windows Mail Local Folders collection. Sub-folders and their content (such as messages) are not exposed.

Examples

The following example demonstrates how to retrieve a folder name.

// Create a Folders Collection.
var collFolders = System.MessageStore.Folders; 

// Select the folder from position 0 in the Folders Collection.
var oFolder = collFolders.item(0);

// Get the folder name.
var strFolderName = oFolder.name;

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008
IDL
Sidebar.idl
DLL
Sidebar.Exe (version 1.00 or later)

See also

System.MessageStore.Folder

Reference

unreadMessageCount

messageCount

Folders