Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.4 KB

claimedjournalprinter_validatedata_977746434.md

File metadata and controls

30 lines (21 loc) · 1.4 KB
-api-id -api-type -api-device-family-note
M:Windows.Devices.PointOfService.ClaimedJournalPrinter.ValidateData(System.String)
winrt method
xbox

Windows.Devices.PointOfService.ClaimedJournalPrinter.ValidateData

-description

Determines if a JournalPrintJob can successfully execute a print instruction with the specified data.

-parameters

-param data

The data sequence that you want to validate before you use it with the JournalPrintJob.Print method. This sequence may include printable data and escape sequences.

If the sequence is not valid, and you use it with JournalPrintJob.Print anyways, the job fails when you run it with JournalPrintJob.ExecuteAsync. You cannot remove a print instruction that uses an invalid data sequence after you add the instruction to the job with JournalPrintJob.Print.

-returns

True if the data passes validation; otherwise false.

-remarks

-examples

-see-also

ICommonClaimedPosPrinterStation.ValidateData, JournalPrintJob.Print, JournalPrintJob.ExecuteAsync