MobileControl.IAttributeAccessor.GetAttribute(String) 方法

定义

有关此方法的说明,请参阅 GetAttribute(String)For a description of this method, see GetAttribute(String). 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

 virtual System::String ^ System.Web.UI.IAttributeAccessor.GetAttribute(System::String ^ name) = System::Web::UI::IAttributeAccessor::GetAttribute;
string IAttributeAccessor.GetAttribute (string name);
abstract member System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
override this.System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
Function GetAttribute (name As String) As String Implements IAttributeAccessor.GetAttribute

参数

name
String

要获取的特性的名称。The name of the attribute to get.

返回

String

指定的属性的值。The value of the specified attribute.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 MobileControl 实例被强制转换为 IAttributeAccessor 接口时使用。It can be used only when the MobileControl instance is cast to an IAttributeAccessor interface.

适用于

另请参阅