ListItem.IAttributeAccessor.GetAttribute(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳包含指定屬性名稱的清單項目控制項的屬性值。
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
屬性名稱/值對的名稱成分。
傳回
指定屬性的值。
實作
備註
此成員為明確介面成員實作。 它只能在實 ListItem 例投射到 IAttributeAccessor 介面時使用。