DeviceSpecificChoice.IAttributeAccessor.GetAttribute(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
關於此成員的描述,請參見 GetAttribute(String)。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
virtual System::String ^ System.Web.UI.IAttributeAccessor.GetAttribute(System::String ^ key) = System::Web::UI::IAttributeAccessor::GetAttribute;
virtual System::String ^ System.Web.UI.IAttributeAccessor.GetAttribute(System::String ^ name) = System::Web::UI::IAttributeAccessor::GetAttribute;
string IAttributeAccessor.GetAttribute(string key);
string IAttributeAccessor.GetAttribute(string name);
abstract member System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
override this.System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
abstract member System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
override this.System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
Function GetAttribute (key As String) As String Implements IAttributeAccessor.GetAttribute
Function GetAttribute (name As String) As String Implements IAttributeAccessor.GetAttribute
參數
- keyname
- String
要設定的屬性名稱。
傳回
String A 包含指定屬性的值。
實作
備註
屬性的值。