ObjectListShowCommandsEventArgs 類別

定義

警告

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

提供 ShowItemCommandsObjectList 事件的資料。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

public ref class ObjectListShowCommandsEventArgs : EventArgs
public class ObjectListShowCommandsEventArgs : EventArgs
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class ObjectListShowCommandsEventArgs : EventArgs
type ObjectListShowCommandsEventArgs = class
    inherit EventArgs
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type ObjectListShowCommandsEventArgs = class
    inherit EventArgs
Public Class ObjectListShowCommandsEventArgs
Inherits EventArgs
繼承
ObjectListShowCommandsEventArgs
屬性

範例

如需程式代碼範例,請參閱概觀的 ObjectList 範例。

備註

對象的實例ObjectListShowCommandsEventArgs會自動建立並傳遞至 事件的ObjectList事件處理程式ShowItemCommands

繼承的類別或事件處理程式可以使用這個事件來顯示專案唯一的命令,方法是變更 屬性中的 Commands 命令集合。

建構函式

ObjectListShowCommandsEventArgs(ObjectListItem, ObjectListCommandCollection)
已淘汰.

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

屬性

Commands
已淘汰.

取得或設定 ObjectListCommandCollection 物件中的命令集合。 這個集合一開始是空的。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

ListItem
已淘汰.

傳回將顯示的指定命令之清單項目。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

方法

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱