HtmlControl.IAttributeAccessor.GetAttribute(String) メソッド

定義

このメンバーの説明については、 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

属性名です。

返品

String値としての要素のこの属性の値。 指定した属性がこの要素に存在しない場合は、空の文字列 ("") を返します。

実装

注釈

IAttributeAccessor.GetAttribute メソッドは、GetAttribute メソッドを呼び出します。

このメンバーは、明示的なインターフェイス メンバーの実装です。 HtmlControl インスタンスがIAttributeAccessor インターフェイスにキャストされている場合にのみ使用できます。

適用対象

こちらもご覧ください