共用方式為


INativeBindingService.TrySetValue(Object, BindableProperty, Object) 方法

定義

public:
 bool TrySetValue(System::Object ^ target, Microsoft::Maui::Controls::BindableProperty ^ property, System::Object ^ value);
public bool TrySetValue (object target, Microsoft.Maui.Controls.BindableProperty property, object value);
abstract member TrySetValue : obj * Microsoft.Maui.Controls.BindableProperty * obj -> bool
Public Function TrySetValue (target As Object, property As BindableProperty, value As Object) As Boolean

參數

target
Object
property
BindableProperty
value
Object

傳回

適用於