UpdateProgress.IAttributeAccessor.GetAttribute(String) UpdateProgress.IAttributeAccessor.GetAttribute(String) UpdateProgress.IAttributeAccessor.GetAttribute(String) Method

定義

使用指定的名稱,傳回 Web 控制項的屬性。Returns an attribute of a Web control by using the specified name.

 virtual System::String ^ System.Web.UI.IAttributeAccessor.GetAttribute(System::String ^ key) = System::Web::UI::IAttributeAccessor::GetAttribute;
string IAttributeAccessor.GetAttribute (string key);
Function GetAttribute (key As String) As String Implements IAttributeAccessor.GetAttribute

參數

key
String String String

要傳回之屬性的名稱。The name of the attribute to return.

傳回

屬性的值。The value of the attribute.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 UpdateProgress 執行個體轉換成 IAttributeAccessor 介面時,才能使用這個成員。It can be used only when the UpdateProgress instance is cast to an IAttributeAccessor interface.

適用於