MobileControl.SetAttribute(String, String) MobileControl.SetAttribute(String, String) MobileControl.SetAttribute(String, String) MobileControl.SetAttribute(String, String) Method

Definition

Designates an attribute and its value to assign to the MobileControl object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 void SetAttribute(System::String ^ name, System::String ^ value);
protected void SetAttribute (string name, string value);
member this.SetAttribute : string * string -> unit
Protected Sub SetAttribute (name As String, value As String)

Parameters

name
String String String String

A String signifying the key of the attribute to be set.

value
String String String String

A String to be assigned as the value of the attribute.

Implements

Remarks

The attributes set through calls to the SetAttribute method are stored in the CustomAttributes property.

Applies to

See also