XhtmlControlAdapter.GetCustomAttributeValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System::String ^ GetCustomAttributeValue(System::String ^ attributeName);
protected virtual string GetCustomAttributeValue (string attributeName);
abstract member GetCustomAttributeValue : string -> string
override this.GetCustomAttributeValue : string -> string
Protected Overridable Function GetCustomAttributeValue (attributeName As String) As String
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
- Architectural Overview of Adaptive Control Behavior
- Adapter Sets Functionality
- Control and Adapter Interaction
Applies to
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 System::String ^ GetCustomAttributeValue(System::Web::UI::MobileControls::MobileControl ^ control, System::String ^ attributeName);
protected virtual string GetCustomAttributeValue (System.Web.UI.MobileControls.MobileControl control, string attributeName);
abstract member GetCustomAttributeValue : System.Web.UI.MobileControls.MobileControl * string -> string
override this.GetCustomAttributeValue : System.Web.UI.MobileControls.MobileControl * string -> string
Protected Overridable Function GetCustomAttributeValue (control As MobileControl, attributeName As String) As String
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
- Architectural Overview of Adaptive Control Behavior
- Adapter Sets Functionality
- Control and Adapter Interaction