PrintCustomItemListOptionDetails.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 item ID or the display name of the custom item.
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 item ID or the display name of the custom item.
Returns
bool
Boolean value that indicates TRUE for a successful Get or Set, and FALSE for a failed Get or Set.
Implements
Remarks
To set the default value for a custom dropdown list of options, set the value explicitly. Otherwise, the adding order will be used.