AttributeListImpl.GetValue 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetValue(Int32) |
已淘汰.
取得屬性的值(依位置)。 |
GetValue(String) |
已淘汰.
取得屬性的值(依名稱)。 |
GetValue(Int32)
警告
deprecated
取得屬性的值(依位置)。
[Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler")]
[System.Obsolete("deprecated")]
public virtual string? GetValue (int i);
[<Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetValue : int -> string
override this.GetValue : int -> string
參數
- i
- Int32
屬性在清單中的位置。
傳回
屬性值為字串,如果沒有位於該位置的屬性,則為 null。
實作
- 屬性
備註
取得屬性的值(依位置)。
的 org.xml.sax.helpers.AttributeListImpl.getValue(int)
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
另請參閱
適用於
GetValue(String)
警告
deprecated
取得屬性的值(依名稱)。
[Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual string? GetValue (string? name);
[<Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member GetValue : string -> string
override this.GetValue : string -> string
參數
- name
- String
屬性名稱。
傳回
如果屬性不存在,則為具名屬性的值或 Null。
實作
- 屬性
備註
取得屬性的值(依名稱)。
的 org.xml.sax.helpers.AttributeListImpl.getValue(java.lang.String)
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。