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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for