MobileControl::GetAttribute Method (String^)
.NET Framework (current version)
Retrieves the specified attribute property from the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
Parameters
- name
-
Type:
System::String^
A String that specifies the name of the server control attribute.
Return Value
Type: System::String^A String representing the value of the specified attribute; if no attribute with the specified name exists, then null.
The GetAttribute method returns attributes stored in the CustomAttributes property. If CustomAttributes is null, then GetAttribute will also return null.
.NET Framework
Available since 2.0
Available since 2.0
MobileControl Class
System.Web.UI.MobileControls Namespace
Creating Custom Mobile Controls
Inside the ASP.NET Mobile Controls
Show: