XhtmlControlAdapter.GetCustomAttributeValue 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定之自訂屬性的值。 這個 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。 |
從關聯控制項的標記取得指定屬性的值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with 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
屬性的名稱。
傳回
字串,含有指定之自訂屬性的值。
這個方法主要是由自訂配置器的開發人員所使用。
另請參閱
適用於
.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 |
從指定的控制項取得指定屬性的值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with 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
屬性的名稱。
傳回
字串,含有指定之自訂屬性的值。
備註
這個方法主要是由自訂配置器的開發人員所使用。
另請參閱
適用於
.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 |