我正在为 VB.Net 中的 Windows Mobile 手机编写应用程序,我想从手机内存中读取 SMS。根据 MSDN,我需要 SMSAccount 类:
'SmsAccount Class
'Provides access to a Outlook Mobile Short Message Service (SMS) account, the account's SMS folders, and the SMS messages they contain.
但是,SMSAccount 类只有一种有趣的方法,也就是Send
(参见http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.pocketoutlook.smsaccount_members.aspx),我不知道如何访问实际消息。
我在网上找到了建议使用 smsAccount.Inbox 属性的示例,但我无法找到。我得到了这个代码,例如:
Dim smsAcc As SmsAccount
Dim smsFdr As SmsMessageFolder
smsFdr = smsAcc.Inbox
但我找不到 SmsMessageFolder 类和 Inbox 属性。
如何访问短信?
谢谢你的帮助,CFP。