Language

XmlReaderPullParser.GetAttributeValue メソッド

定義

オーバーロード

Name 説明
GetAttributeValue(Int32)

リーダーからインデックス付き属性の値を取得します。

GetAttributeValue(String, String)

ローカル名と名前空間 URI で属性値を取得します。

GetAttributeValue(Int32)

リーダーからインデックス付き属性の値を取得します。

public string GetAttributeValue(int index);
abstract member GetAttributeValue : int -> string
override this.GetAttributeValue : int -> string

パラメーター

index
Int32

属性インデックス。

戻り値

属性値。

実装

適用対象

GetAttributeValue(String, String)

ローカル名と名前空間 URI で属性値を取得します。

public string? GetAttributeValue(string? namespaceURI, string? name);
abstract member GetAttributeValue : string * string -> string
override this.GetAttributeValue : string * string -> string

パラメーター

namespaceURI
String

リーダーに渡す名前空間 URI。

name
String

属性のローカル名、または null。

戻り値

リーダーによって返される値、またはnameがnullされたときにnull。

実装

適用対象