HtmlControl.IAttributeAccessor.GetAttribute(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このメンバーの説明については、 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 インターフェイスにキャストされている場合にのみ使用できます。