共用方式為


XamlBindingHelper.SetPropertyFromUri(Object, DependencyProperty, Uri) 方法

定義

Uri值設定DependencyProperty

public:
 static void SetPropertyFromUri(Platform::Object ^ dependencyObject, DependencyProperty ^ propertyToSet, Uri ^ value);
 static void SetPropertyFromUri(IInspectable const& dependencyObject, DependencyProperty const& propertyToSet, Uri const& value);
public static void SetPropertyFromUri(object dependencyObject, DependencyProperty propertyToSet, System.Uri value);
function setPropertyFromUri(dependencyObject, propertyToSet, value)
Public Shared Sub SetPropertyFromUri (dependencyObject As Object, propertyToSet As DependencyProperty, value As Uri)

參數

dependencyObject
Object

Platform::Object

IInspectable

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

propertyToSet
DependencyProperty

寫入值的屬性。

value
Uri Uri

要設定的值。

備註

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

適用於