Share via


XamlDirect.SetInt32Property 方法

定义

设置特定 IXamlDirectObject的 Int32 属性的值。

public:
 virtual void SetInt32Property(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, int value) = SetInt32Property;
void SetInt32Property(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, int const& value);
public void SetInt32Property(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, int value);
function setInt32Property(xamlDirectObject, propertyIndex, value)
Public Sub SetInt32Property (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Integer)

参数

xamlDirectObject
IXamlDirectObject

对特定 IXamlDirectObject 的引用。

propertyIndex
XamlPropertyIndex

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

value
Int32

int

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

适用于

另请参阅