XhtmlControlAdapter.GetCustomAttributeValue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定自定义特性的值。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
重载
| 名称 | 说明 |
|---|---|
| GetCustomAttributeValue(String) |
从关联控件的标记中获取指定特性的值。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| GetCustomAttributeValue(MobileControl, String) |
从给定控件获取指定特性的值。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
GetCustomAttributeValue(String)
从关联控件的标记中获取指定特性的值。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
protected:
virtual System::String ^ GetCustomAttributeValue(System::String ^ attributeName);
protected virtual string GetCustomAttributeValue(string attributeName);
abstract member GetCustomAttributeValue : string -> string
override this.GetCustomAttributeValue : string -> string
Protected Overridable Function GetCustomAttributeValue (attributeName As String) As String
参数
- attributeName
- String
属性的名称。
返回
包含指定自定义特性值的字符串。
此方法主要用于自定义适配器的开发人员。
另请参阅
适用于
GetCustomAttributeValue(MobileControl, String)
从给定控件获取指定特性的值。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
protected:
virtual System::String ^ GetCustomAttributeValue(System::Web::UI::MobileControls::MobileControl ^ control, System::String ^ attributeName);
protected virtual string GetCustomAttributeValue(System.Web.UI.MobileControls.MobileControl control, string attributeName);
abstract member GetCustomAttributeValue : System.Web.UI.MobileControls.MobileControl * string -> string
override this.GetCustomAttributeValue : System.Web.UI.MobileControls.MobileControl * string -> string
Protected Overridable Function GetCustomAttributeValue (control As MobileControl, attributeName As String) As String
参数
- control
- MobileControl
从中获取属性值的移动控件。
- attributeName
- String
属性的名称。
返回
包含指定自定义特性值的字符串。
注解
此方法主要用于自定义适配器的开发人员。