次の方法で共有


IXRSetter::SetValue (Compact 2013)

3/28/2014

This method sets the value of this object as an object derived from IXRDependencyObject.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetValue(
    IXRDependencyObject* pValue
) = 0;

Parameters

  • pValue
    [in] Pointer to an object derived from IXRDependencyObject that specifies the value to apply to the property.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

If IXRSetterBase::GetIsSealed returns true, you cannot set this value by calling this method.

.NET Framework Equivalent

System.Windows.Setter.Value

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRSetter
IXRSetter::GetValue