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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.