XamlDirect.SetInt32Property 方法

定義

設定特定IXamlDirectObjectInt32屬性值。

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值。

適用於

另請參閱