Bagikan melalui


PrintTicketValue Kelas

Definisi

Mewakili nilai parameter pencetakan atau properti opsi cetak.

public ref class PrintTicketValue sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintTicketValue final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintTicketValue
Public NotInheritable Class PrintTicketValue
Warisan
Object Platform::Object IInspectable PrintTicketValue
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Fall Creators Update (diperkenalkan dalam 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v5.0)

Properti

Type

Mendapatkan jenis nilai yang diwakili objek kelas ini.

Metode

GetValueAsInteger()

Mengonversi nilai cetak menjadi int.

GetValueAsString()

Mengonversi nilai cetak menjadi string.

Berlaku untuk