共用方式為


DeviceSpecificChoice.IAttributeAccessor.GetAttribute(String) 方法

定義

如需這個成員的說明,請參閱 GetAttribute(String)。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

keyname
String

要設定屬性的名稱。

傳回

String,包含指定之屬性的值。

實作

備註

屬性的值。

適用於

另請參閱