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이 반환됩니다.

설명

메서드는 판독기를 이동 하지 않습니다.

적용 대상