次の方法で共有


AttributeListImpl.GetValue メソッド

定義

オーバーロード

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。

実装

属性

注釈

属性の値を (位置別に) 取得します。

の Java ドキュメントorg.xml.sax.helpers.AttributeListImpl.getValue(int)

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 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。

実装

属性

注釈

属性の値を (名前で) 取得します。

の Java ドキュメントorg.xml.sax.helpers.AttributeListImpl.getValue(java.lang.String)

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

こちらもご覧ください

適用対象