-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.PointOfService.ClaimedSlipPrinter.ValidateData(System.String) |
winrt method |
xbox |
Determines whether a data sequence, possibly including one or more escape sequences, is valid for the slip printer station, before you use that data sequence when you call the SlipPrintJob.Print and SlipPrintJob.ExecuteAsync methods.
The data sequence that you want to validate before you use it with the SlipPrintJob.Print method. This sequence may include printable data and escape sequences.
If the sequence is not valid, and you use it with SlipPrintJob.Print anyways, the job fails when you run it with SlipPrintJob.ExecuteAsync. You cannot remove a print instruction that uses an invalid data sequence after you add the instruction to the job with SlipPrintJob.Print.
True if the data passes validation; otherwise false.
ICommonClaimedPosPrinterStation.ValidateData, SlipPrintJob.Print, SlipPrintJob.ExecuteAsync