PrintBindingOptionDetails PrintBindingOptionDetails PrintBindingOptionDetails PrintBindingOptionDetails Class

Represents the list of print binding options.

Syntax

Declaration

public sealed class PrintBindingOptionDetailspublic sealed class PrintBindingOptionDetailsPublic NotInheritable Class PrintBindingOptionDetails

Remarks

Here is a JavaScript code snippet that shows how to retrieve the object:

//  Retrieve the advanced Print Task Options
var printDetailedOptions = 
     Windows.Graphics.Printing.OptionDetails.PrintTaskOptionDetails.getFromPrintTaskOptions(printTask.options);

// get the object
var printBindingOptionDetails = 
     printDetailedOptions.options.lookup(Windows.Graphics.Printing.StandardPrintTaskOptions.binding);

Properties summary

Gets or sets the string for an error condition.

Gets the list of items for the print binding options.

Gets the ID of the print binding option.

Gets the option type of the print binding option.

Gets or sets the state of the print binding option.

Gets or sets the enumerated value of the print binding option.

Methods summary

Sets the value for the print binding option.

Properties

  • ErrorText
    ErrorText
    ErrorText
    ErrorText

    Gets or sets the string for an error condition.

    public string ErrorText { get; set; }public string ErrorText { get; set; }Public ReadWrite Property ErrorText As string

    Property Value

    • string
      string
      string
      string

      String that describes the error condition.

  • Items
    Items
    Items
    Items

    Gets the list of items for the print binding options.

    public IVectorView<object> Items { get; }public IVectorView<object> Items { get; }Public ReadOnly Property Items As IVectorView<object>

    Property Value

    • A pointer to the list of items.

  • OptionId
    OptionId
    OptionId
    OptionId

    Gets the ID of the print binding option.

    public string OptionId { get; }public string OptionId { get; }Public ReadOnly Property OptionId As string

    Property Value

    • string
      string
      string
      string

      The ID of the print binding option.

  • OptionType
    OptionType
    OptionType
    OptionType

    Gets the option type of the print binding option.

    public PrintOptionType OptionType { get; }public PrintOptionType OptionType { get; }Public ReadOnly Property OptionType As PrintOptionType

    Property Value

  • State
    State
    State
    State

    Gets or sets the state of the print binding option.

    public PrintOptionStates State { get; set; }public PrintOptionStates State { get; set; }Public ReadWrite Property State As PrintOptionStates

    Property Value

  • Value
    Value
    Value
    Value

    Gets or sets the enumerated value of the print binding option.

    public object Value { get; }public object Value { get; }Public ReadOnly Property Value As object

    Property Value

    • object
      object
      object
      object

      The binding option value.

Methods

  • TrySetValue(System.Object)
    TrySetValue(System.Object)
    TrySetValue(System.Object)
    TrySetValue(System.Object)

    Sets the value for the print binding option.

    public bool TrySetValue(System.Object value)public bool TrySetValue(System.Object value)Public Function TrySetValue(value As System.Object) As bool

    Parameters

    • value
      System.Object
      System.Object
      System.Object
      System.Object

      Value for the print binding option.

    Returns

    • bool
      bool
      bool
      bool

      Boolean value that indicates TRUE for a successful Get or Set, and FALSE for a failed Get or Set.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Graphics.Printing.OptionDetails.dll