PrintMediaSizeOptionDetails.TrySetValue(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value for the media size 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 media size 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)