The unread messages.
object.OnlyUnread
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISLoadMessagesParams interface |
bool
Display the number of messages loaded on the basis of the selected filter and the information about them.
Dim aProvider
Dim aFilter
Dim aMessages
Dim aMessage
Dim aInfo
Dim i
Set aProvider = Profile.LoadProvider("ADMIN")
set aFilter = Profile.CreateLoadMessagesParams(aProvider.Id)
aFilter.OnlyUnread = True
set aMessages = Profile.LoadMessages(aFilter)
aInfo = "Messages Count = " & aMessages.Count
for i = 0 to aMessages.Count - 1
set aMessage = aMessages.Item(i)
aInfo = aInfo & vbNewLine & "The message with the text '" & aMessage.Text &_
"' was sent by " & aMessage.Sender & " on " & aMessage.Sent
next
Profile.MsgBox(aInfo)
In Profile Client v8 on User Interface Unread Messages can be found in
.