言語

XmlReaderResourceParser.GetAttributeUnsignedIntValue メソッド

定義

オーバーロード

名前 説明
GetAttributeUnsignedIntValue(Int32, Int32)

'index' の属性の値を符号なし 10 進整数として返します。

GetAttributeUnsignedIntValue(String, String, Int32)

'attribute' の値を符号なし 10 進整数として返します。

GetAttributeUnsignedIntValue(Int32, Int32)

'index' の属性の値を符号なし 10 進整数として返します。

public int GetAttributeUnsignedIntValue(int index, int defaultValue);
abstract member GetAttributeUnsignedIntValue : int * int -> int
override this.GetAttributeUnsignedIntValue : int * int -> int

パラメーター

index
Int32

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

defaultValue
Int32

属性が見つからない場合に返す内容。

返品

変換された値。属性が存在しない場合は defaultValue。

実装

例外

属性値が有効な符号なし 10 進整数ではありません。

注釈

この XML リーダー アダプターは、符号なし 10 進値のみをサポートします。 0x や # などの 16 進数のプレフィックスはサポートされていません。

android.util.AttributeSet.getAttributeUnsignedIntValueの Android リファレンス。

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

適用対象

GetAttributeUnsignedIntValue(String, String, Int32)

'attribute' の値を符号なし 10 進整数として返します。

public int GetAttributeUnsignedIntValue(string? namespaceURI, string? attribute, int defaultValue);
abstract member GetAttributeUnsignedIntValue : string * string * int -> int
override this.GetAttributeUnsignedIntValue : string * string * int -> int

パラメーター

namespaceURI
String
attribute
String

取得する属性。

defaultValue
Int32

属性が見つからない場合に返す内容。

返品

変換された値。属性が存在しない場合は defaultValue。

実装

例外

属性値が有効な符号なし 10 進整数ではありません。

注釈

この XML リーダー アダプターは、符号なし 10 進値のみをサポートします。 0x や # などの 16 進数のプレフィックスはサポートされていません。

android.util.AttributeSet.getAttributeUnsignedIntValueの Android リファレンス。

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

適用対象