MobileControl.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.
Retrieves the specified attribute property from the control. 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 ^ name);
protected string GetAttribute (string name);
member this.GetAttribute : string -> string
Protected Function GetAttribute (name As String) As String
Parameters
Returns
A String representing the value of the specified attribute; if no attribute with the specified name
exists, then null
.
Remarks
The GetAttribute method returns attributes stored in the CustomAttributes property. If CustomAttributes is null
, then GetAttribute will also return null
.
Applies to
See also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za