PrintCustomToggleOptionDetails 类

定义

表示打印自定义切换选项的列表。

public ref class PrintCustomToggleOptionDetails sealed : IPrintCustomOptionDetails
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintCustomToggleOptionDetails final : IPrintCustomOptionDetails
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PrintCustomToggleOptionDetails final : IPrintCustomOptionDetails
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintCustomToggleOptionDetails : IPrintCustomOptionDetails
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintCustomToggleOptionDetails : IPrintCustomOptionDetails
Public NotInheritable Class PrintCustomToggleOptionDetails
Implements IPrintCustomOptionDetails
继承
Object Platform::Object IInspectable PrintCustomToggleOptionDetails
属性
实现

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

属性

Description

获取或设置打印自定义切换选项的说明。

DisplayName

获取或设置打印自定义切换选项的显示名称。

ErrorText

获取或设置错误条件的字符串。

OptionId

获取打印自定义切换选项的 ID。

OptionType

获取打印自定义切换选项的选项类型。

State

获取或设置打印自定义切换选项的状态。

Value

获取或设置打印自定义切换选项的枚举值。

WarningText

获取或设置警告条件的字符串。

方法

TrySetValue(Object)

设置打印自定义切换选项的值。

适用于