Menu.EnsureDataBound 方法

定義

呼叫 DataBind() 方法之前,請先確認功能表控制項是否需要資料繫結,而且是否已指定有效的資料來源控制項。Verifies that the menu control requires data binding and that a valid data source control is specified before calling the DataBind() method.

protected:
 override void EnsureDataBound();
protected override void EnsureDataBound ();
override this.EnsureDataBound : unit -> unit
Protected Overrides Sub EnsureDataBound ()

備註

注意

這個方法主要由控制項開發人員用來擴充 Menu 控制項。This method is used primarily by control developers to extend the Menu control.

適用於