DelegatingXmlDictionaryReader.GetAttribute メソッド

定義

オーバーロード

名前 説明
GetAttribute(Int32)

指定されたインデックス位置にある属性の値を取得します。

GetAttribute(String)

指定した名前の属性の値を取得します。

GetAttribute(String, String)

指定された名前と名前空間 URI を持つ属性の値を取得します。

GetAttribute(Int32)

指定されたインデックス位置にある属性の値を取得します。

public:
 override System::String ^ GetAttribute(int i);
public override string GetAttribute(int i);
override this.GetAttribute : int -> string
Public Overrides Function GetAttribute (i As Integer) As String

パラメーター

i
Int32

属性のインデックス。 インデックスは 0 から始まるインデックスです。

返品

指定したインデックス位置にある属性の値。

注釈

このメソッドはリーダーの位置を移動しません。

適用対象

GetAttribute(String)

指定した名前の属性の値を取得します。

public:
 override System::String ^ GetAttribute(System::String ^ name);
public override string GetAttribute(string name);
override this.GetAttribute : string -> string
Public Overrides Function GetAttribute (name As String) As String

パラメーター

name
String

属性の修飾名。

返品

属性の値。 属性が見つからない場合は null が返されます。

注釈

このメソッドはリーダーの位置を移動しません。

適用対象

GetAttribute(String, String)

指定された名前と名前空間 URI を持つ属性の値を取得します。

public:
 override System::String ^ GetAttribute(System::String ^ name, System::String ^ namespaceURI);
public override string GetAttribute(string name, string namespaceURI);
override this.GetAttribute : string * string -> string
Public Overrides Function GetAttribute (name As String, namespaceURI As String) As String

パラメーター

name
String

属性のローカル名。

namespaceURI
String

属性の名前空間。

返品

属性の値。 属性が見つからない場合は null が返されます。

注釈

このメソッドはリーダーを移動しません。

適用対象