共用方式為


PrintTicketValue 類別

定義

表示列印參數或列印選項屬性的值。

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
繼承
Object Platform::Object IInspectable PrintTicketValue
屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

屬性

Type

取得這個類別物件所代表的值型別。

方法

GetValueAsInteger()

將列印值轉換為 int

GetValueAsString()

將列印值轉換為字串。

適用於