XhtmlControlAdapter.GetCustomAttributeValue Method

Definition

Gets the value of the specified custom attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

GetCustomAttributeValue(String)

Gets the value of the specified attribute from the markup of the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

GetCustomAttributeValue(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 Mobile Apps & Sites with ASP.NET.

GetCustomAttributeValue(String)

Gets the value of the specified attribute from the markup of the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected virtual string GetCustomAttributeValue(string attributeName);

Parameters

attributeName
String

The name of the attribute.

Returns

A string containing the value of the specified custom attribute.

This method is primarily used by developers of custom adapters.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GetCustomAttributeValue(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 Mobile Apps & Sites with ASP.NET.

protected virtual string GetCustomAttributeValue(System.Web.UI.MobileControls.MobileControl control, string attributeName);

Parameters

control
MobileControl

The mobile control from which to get the attribute value.

attributeName
String

The name of the attribute.

Returns

A string containing the value of the specified custom attribute.

Remarks

This method is primarily used by developers of custom adapters.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1