共用方式為


HandlerProperties.SetDisconnectPolicy 方法

定義

public:
 static void SetDisconnectPolicy(Microsoft::Maui::Controls::BindableObject ^ target, Microsoft::Maui::HandlerDisconnectPolicy value);
public static void SetDisconnectPolicy (Microsoft.Maui.Controls.BindableObject target, Microsoft.Maui.HandlerDisconnectPolicy value);
static member SetDisconnectPolicy : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.HandlerDisconnectPolicy -> unit
Public Shared Sub SetDisconnectPolicy (target As BindableObject, value As HandlerDisconnectPolicy)

參數

適用於