共用方式為


XamlBindingHelper.SetPropertyFromUInt32 方法

定義

public:
 static void SetPropertyFromUInt32(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, unsigned int value);
 static void SetPropertyFromUInt32(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, uint32_t const& value);
public static void SetPropertyFromUInt32(object dependencyObject, DependencyProperty propertyToSet, uint value);
function setPropertyFromUInt32(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromUInt32 (dependencyObject As Object, propertyToSet As DependencyProperty, value As UInteger)

參數

dependencyObject
Object

Platform::Object

IInspectable

要設定之屬性所屬的物件。

propertyToSet
DependencyProperty

要寫入值的屬性。

value
UInt32

unsigned int

uint32_t

要設定的值。

備註

這個方法可用於 XAML 編譯器所產生的程式碼中。

適用於