Szerkesztés

Megosztás a következőn keresztül:


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

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

value
String

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

Remarks

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

Applies to

See also