The Inbox.IsEmpty property gets a Boolean value to indicate if the Inbox (instance of mCore.Inbox type collection class returned by mCore.SMS.Inbox method) is empty. Boolean value True indicates that there are no messages (mCore.Message object) in the Inbox, and Boolean value False indicates that there is at least one message in the Inbox.
Namespace: mCore
Assembly: mCoreLib (in mCoreLib.dll)
| Visual Basic |
Public Class MyClass
Catch ex As mCore.SMSReadException If
Not objSMS.Inbox.IsEmpty Then |
| C# |
| class MyClass { public mCore.SMS objSMS = new mCore.SMS(); public static void ReadInbox() { mCore.Message Msg; try { SetCommParameters(); catch
(mCore.GeneralException e) catch
(mCore.GeneralException e) |
Inbox.Refresh Method
Inbox.Count Property
Inbox.HasMessages Property
Inbox.Concatenate Property