MarksAsRead Method

Official Content
This documentation is valid for:
Marks the last message received through the Receive method as read.

Syntax

&DataType.MarksAsRead()

Type Returned:
Numeric

Description

If the Receive method was not called, or if the last call did not return a message (for instance, due to an error), the call to MarkAsRead results in error 26. 
This property must be configured after performing the Receive.

Notes:
  • In order to use this property you must set the “Functions” property with the “Allow non-standard functions on saving” value in design, and the prototype/production “Functions” property with the “Allow non-standard functions on specifying” value.
  • This method returns an error code, so it is possible to call it as a function (&Err = &DataType.MarksAsRead()).

Scope

Extended Data Types: MAPISession, OutlookSession
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

Receive Method
Send Method
MAPISession Data Type
OutlookSession Data Type