แก้ไข

แชร์ผ่าน


MobileControl.GetAttribute(String) Method

Definition

Retrieves the specified attribute property from the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 System::String ^ GetAttribute(System::String ^ name);
protected string GetAttribute (string name);
member this.GetAttribute : string -> string
Protected Function GetAttribute (name As String) As String

Parameters

name
String

A String that specifies the name of the server control attribute.

Returns

A String representing the value of the specified attribute; if no attribute with the specified name exists, then null.

Remarks

The GetAttribute method returns attributes stored in the CustomAttributes property. If CustomAttributes is null, then GetAttribute will also return null.

Applies to

See also