UpdatePanel.IAttributeAccessor.GetAttribute(String) 方法

定義

使用指定的名稱,傳回 Web 控制項的屬性。

 virtual System::String ^ System.Web.UI.IAttributeAccessor.GetAttribute(System::String ^ key) = System::Web::UI::IAttributeAccessor::GetAttribute;
string IAttributeAccessor.GetAttribute (string key);
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

參數

key
String

屬性的名稱。

傳回

String

屬性的值。

實作

備註

這個成員是明確介面成員實作, 只有在 UpdatePanel 執行個體轉換成 IAttributeAccessor 介面時,才能使用這個成員。

適用於