語言

DeviceSpecificChoice.IAttributeAccessor.GetAttribute(String) 方法

定義

關於此成員的描述,請參見 GetAttribute(String)。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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 A 包含指定屬性的值。

實作

備註

屬性的值。

適用於

另請參閱