Command::CommandArgument Property

 

Sets or returns the argument associated with the command in the ItemCommand event. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

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

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

Property Value

Type: System::String^

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.

System_CAPS_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 Forms Page Code Model.

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

.NET Framework
Available since 1.1
Return to top
Show: