ObjectListShowCommandsEventArgs 建構函式

定義

初始化 ObjectListShowCommandsEventArgs 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

public:
 ObjectListShowCommandsEventArgs(System::Web::UI::MobileControls::ObjectListItem ^ item, System::Web::UI::MobileControls::ObjectListCommandCollection ^ commands);
public ObjectListShowCommandsEventArgs (System.Web.UI.MobileControls.ObjectListItem item, System.Web.UI.MobileControls.ObjectListCommandCollection commands);
new System.Web.UI.MobileControls.ObjectListShowCommandsEventArgs : System.Web.UI.MobileControls.ObjectListItem * System.Web.UI.MobileControls.ObjectListCommandCollection -> System.Web.UI.MobileControls.ObjectListShowCommandsEventArgs
Public Sub New (item As ObjectListItem, commands As ObjectListCommandCollection)

參數

item
ObjectListItem

初始化 ListItem 屬性。

commands
ObjectListCommandCollection

初始化 Commands 屬性。

備註

建構新的 ObjectListShowCommandsEventArgs 對象,分別使用 和參數的值item初始化 ListItemCommandscommands 屬性。

適用於

另請參閱