XmlValidatingReader.Item[] 속성

정의

오버로드

Item[Int32]

지정된 인덱스가 있는 특성의 값을 가져옵니다.

Item[String]

지정된 이름이 있는 특성의 값을 가져옵니다.

Item[String, String]

지정된 로컬 이름과 네임스페이스 URI가 있는 특성의 값을 가져옵니다.

Item[Int32]

지정된 인덱스가 있는 특성의 값을 가져옵니다.

public:
 virtual property System::String ^ default[int] { System::String ^ get(int i); };
public override string this[int i] { get; }
member this.Item(int) : string
Default Public Overrides ReadOnly Property Item(i As Integer) As String

매개 변수

i
Int32

특성의 인덱스입니다.

속성 값

String

지정된 특성의 값을 반환합니다.

적용 대상

Item[String]

지정된 이름이 있는 특성의 값을 가져옵니다.

public:
 virtual property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ name); };
public override string this[string name] { get; }
member this.Item(string) : string
Default Public Overrides ReadOnly Property Item(name As String) As String

매개 변수

name
String

특성의 정규화된 이름입니다.

속성 값

String

지정된 특성의 값을 반환합니다. 특성을 찾을 수 없으면 .를 반환합니다 null.

설명

이 속성은 판독기를 이동하지 않습니다.

판독기를 노드에 배치하는 경우 이 메서드를 DocumentType 사용하여 PUBLIC 및 SYSTEM 리터럴을 가져올 수 있습니다. 예를 들면 다음과 같습니다 reader["PUBLIC"].

적용 대상

Item[String, String]

지정된 로컬 이름과 네임스페이스 URI가 있는 특성의 값을 가져옵니다.

public:
 virtual property System::String ^ default[System::String ^, System::String ^] { System::String ^ get(System::String ^ name, System::String ^ namespaceURI); };
public override string this[string name, string namespaceURI] { get; }
member this.Item(string * string) : string
Default Public Overrides ReadOnly Property Item(name As String, namespaceURI As String) As String

매개 변수

name
String

특성의 로컬 이름입니다.

namespaceURI
String

특성의 네임스페이스 URI입니다.

속성 값

String

지정된 특성의 값을 반환합니다. 특성을 찾을 수 없으면 .를 반환합니다 null.

설명

이 속성은 판독기를 이동하지 않습니다.

적용 대상