語言

UserControl.IAttributeAccessor.GetAttribute(String) 方法

定義

回傳指定的使用者控制屬性值。

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

參數

name
String

屬性名稱,要取得的值。

傳回

指定使用者控制屬性的值。

實作

備註

使用該 IAttributeAccessor.GetAttribute 方法取得未被揭露為控制屬性的控制屬性值。

適用於

另請參閱