Share via


PrintOrientationOptionDetails.TrySetValue(Object) Method

Definition

Sets the value for the print orientation option.

public:
 virtual bool TrySetValue(Platform::Object ^ value) = TrySetValue;
bool TrySetValue(IInspectable const& value);
public bool TrySetValue(object value);
function trySetValue(value)
Public Function TrySetValue (value As Object) As Boolean

Parameters

value
Object

Platform::Object

IInspectable

Value for the print orientation option.

Returns

Boolean

bool

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

Implements

M:Windows.Graphics.Printing.OptionDetails.IPrintOptionDetails.TrySetValue(System.Object) M:Windows.Graphics.Printing.OptionDetails.IPrintOptionDetails.TrySetValue(Platform::Object) M:Windows.Graphics.Printing.OptionDetails.IPrintOptionDetails.TrySetValue(IInspectable)

Applies to