Language

IAttributeSet.GetAttributeNamespace(Int32) メソッド

定義

指定した属性の名前空間を返します。

[Android.Runtime.Register("getAttributeNamespace", "(I)Ljava/lang/String;", "GetGetAttributeNamespace_IHandler:Android.Util.IAttributeSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)]
public virtual string? GetAttributeNamespace(int index);
[<Android.Runtime.Register("getAttributeNamespace", "(I)Ljava/lang/String;", "GetGetAttributeNamespace_IHandler:Android.Util.IAttributeSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)>]
abstract member GetAttributeNamespace : int -> string
override this.GetAttributeNamespace : int -> string

パラメーター

index
Int32

目的の属性のインデックス 0...count-1。

返品

属性の名前空間を含む文字列。属性が見つからない場合は null。

属性

注釈

指定した属性の名前空間を返します。

コンパイル済み XML ファイルの解析時にこのメソッドが対応する XmlPullParser#getAttributeNamespace XmlPullParser.getAttributeNamespace()も参照してください。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象