XhtmlControlAdapter.GetCustomAttributeValue 方法

定義

取得指定之自訂屬性的值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

多載

GetCustomAttributeValue(String)

從關聯控制項的標記取得指定屬性的值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

GetCustomAttributeValue(MobileControl, String)

從指定的控制項取得指定屬性的值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

GetCustomAttributeValue(String)

從關聯控制項的標記取得指定屬性的值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

C#
protected virtual string GetCustomAttributeValue(string attributeName);

參數

attributeName
String

屬性的名稱。

傳回

字串,含有指定之自訂屬性的值。

這個方法主要是由自訂配置器的開發人員所使用。

另請參閱

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GetCustomAttributeValue(MobileControl, String)

從指定的控制項取得指定屬性的值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

C#
protected virtual string GetCustomAttributeValue(System.Web.UI.MobileControls.MobileControl control, string attributeName);

參數

control
MobileControl

要從其中取得屬性值的行動控制項。

attributeName
String

屬性的名稱。

傳回

字串,含有指定之自訂屬性的值。

備註

這個方法主要是由自訂配置器的開發人員所使用。

另請參閱

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1