Command.CommandArgument Property

Sets or returns the argument associated with the command in the ItemCommand event. The default value is an empty string ("").

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)

[BindableAttribute(true)] 
public:
property String^ CommandArgument {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_CommandArgument ()

/** @property */
public void set_CommandArgument (String value)

public function get CommandArgument () : String

public function set CommandArgument (value : String)

Property Value

The argument associated with the command in the ItemCommand.

The following code example demonstrates how to the use the CommandArgument property to display a value.

NoteNote

The following code example uses the single-file code model and may not work correctly if copied directly into a code-behind file. This code example must be copied into an empty text file that has an .aspx extension. For more information, see ASP.NET Web Page Code Model.

No code example is currently available or this language may not be supported.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

ADD
Show: