XamlDirect.SetXamlDirectObjectProperty 方法

定义

设置特定 IXamlDirectObjectIXamlDirectObject 属性的值。

public:
 virtual void SetXamlDirectObjectProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, IXamlDirectObject ^ value) = SetXamlDirectObjectProperty;
void SetXamlDirectObjectProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, IXamlDirectObject const& value);
public void SetXamlDirectObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, IXamlDirectObject value);
function setXamlDirectObjectProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetXamlDirectObjectProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As IXamlDirectObject)

参数

xamlDirectObject
IXamlDirectObject

对特定 IXamlDirectObject 的引用。

propertyIndex
XamlPropertyIndex

IXamlDirectObject 属性的引用,用于从 XamlPropertyIndex 枚举中支持的属性列表中设置 的值。

value
IXamlDirectObject

要设置为指定属性的 IXamlDirectObject 值。

适用于

另请参阅