PrintTicketOption クラス

定義

印刷機能に使用できる 1 つの設定を表します。

public ref class PrintTicketOption 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 PrintTicketOption 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 PrintTicketOption
Public NotInheritable Class PrintTicketOption
継承
Object Platform::Object IInspectable PrintTicketOption
属性

Windows の要件

デバイス ファミリ
Windows 10 Fall Creators Update (10.0.16299.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v5.0 で導入)

プロパティ

DisplayName

このオプションの UI フレンドリ表示名を取得します。

Name

この印刷オプションの正規名を取得します。

XmlNamespace

この印刷オプションの XML 名前空間を取得します。

XmlNode

この印刷オプションの XML ノードを取得します。

メソッド

GetPropertyNode(String, String)

現在の印刷オプションのプロパティ要素の XML ノードを取得します。

GetPropertyValue(String, String)

現在の印刷オプションのプロパティ要素に関連付けられている値を取得します。

GetScoredPropertyNode(String, String)

現在の印刷オプションのスコア付けされたプロパティ要素の XML ノードを取得します。

GetScoredPropertyValue(String, String)

現在の印刷オプションのスコア付けされたプロパティ要素に関連付けられている値を取得します。

適用対象

こちらもご覧ください

  • <xref:Windows.Graphics.Printing.PrintTicket.PrintTicketFeature%0a%5bIPrintSchemaOption+interface%5d(%2fwindows-hardware%2fdrivers%2fddi%2fcontent%2fprinterextension%2fnn-printerextension-iprintschemaoption)>