共用方式為


XamlBindingHelper.SetPropertyFromChar16 方法

定義

public:
 static void SetPropertyFromChar16(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, char16 value);
 static void SetPropertyFromChar16(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, char16_t const& value);
public static void SetPropertyFromChar16(object dependencyObject, DependencyProperty propertyToSet, char value);
function setPropertyFromChar16(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromChar16 (dependencyObject As Object, propertyToSet As DependencyProperty, value As Char)

參數

dependencyObject
Object

Platform::Object

IInspectable

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

propertyToSet
DependencyProperty

要寫入值的屬性。

value
Char

char16

char16_t

要設定的值。

備註

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

適用於