AccessoryManager.GetFolders(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of email folders that are defined on the phone.
public:
static IVectorView<EmailFolderInfo ^> ^ GetFolders(Platform::String ^ emailAccount);
static IVectorView<EmailFolderInfo> GetFolders(winrt::hstring const& emailAccount);
public static IReadOnlyList<EmailFolderInfo> GetFolders(string emailAccount);
function getFolders(emailAccount)
Public Shared Function GetFolders (emailAccount As String) As IReadOnlyList(Of EmailFolderInfo)
Parameters
- emailAccount
-
String
Platform::String
winrt::hstring
The email account where the folders are defined.
Returns
A collection of EmailFolderInfo objects.
Windows requirements
App capabilities |
accessoryManager
|
Remarks
Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.