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 编译器生成的代码。

适用于