PrintStapleOptionDetails.TrySetValue(Object) 方法

定义

设置装订 opiton 的值。

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

参数

value
Object

Platform::Object

IInspectable

装订 opiton 的值。

返回

Boolean

bool

布尔值,指示成功的 Get 或 Set 为 TRUE,对于失败的 Get 或 Set,则为 FALSE。

实现

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)

适用于