XhtmlControlAdapter.GetCustomAttributeValue Method (MobileControl, String)


Gets the value of the specified attribute from a given control. 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.Adapters.XhtmlAdapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

protected virtual string GetCustomAttributeValue(
	MobileControl control,
	string attributeName


Type: System.Web.UI.MobileControls.MobileControl

The mobile control from which to get the attribute value.

Type: System.String

The name of the attribute.

Return Value

Type: System.String

A string containing the value of the specified custom attribute.

This method is primarily used by developers of custom adapters.

.NET Framework
Available since 2.0
Return to top