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使用 方法來取得控制項屬性的值,這些屬性不會公開為控制項上的屬性。

適用於

另請參閱