DeviceSpecificChoice.GetAttribute(String) 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.
Returns the specified attribute from the DeviceSpecificChoice object. 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 ^ key);
protected string GetAttribute (string key);
member this.GetAttribute : string -> string
Protected Function GetAttribute (key As String) As String
Parameters
- key
- String
The name of the attribute to get.
Returns
A String that contains the value of the specified attribute.
Exceptions
There is no attribute in the object identified by key
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.