Edit

Share via


ObjectListCommand Class

Definition

Caution

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.

Represents a command in an ObjectList ASP.NET mobile control. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public ref class ObjectListCommand
[System.Web.UI.MobileControls.PersistName("Command")]
public class ObjectListCommand
[System.Web.UI.MobileControls.PersistName("Command")]
[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 ObjectListCommand
[<System.Web.UI.MobileControls.PersistName("Command")>]
type ObjectListCommand = class
[<System.Web.UI.MobileControls.PersistName("Command")>]
[<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 ObjectListCommand = class
Public Class ObjectListCommand
Inheritance
ObjectListCommand
Attributes

Remarks

An ObjectListCommand object can be declared as a <command> element within the declaration of an ObjectList.

An ObjectListCommand object can be also constructed, and added programmatically to an ObjectList, by adding it to the control's Commands member collection.

Constructors

ObjectListCommand()

Initializes a new instance of the ObjectListCommand class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ObjectListCommand(String, String)

Initializes a new instance of the ObjectListCommand class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Properties

Name

Gets the name of the command. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Text

Gets or sets the text that is to appear in the command. The default is an empty string. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also