語言

DelegatingXmlDictionaryReader.Item[] 屬性

定義

多載

名稱 Description
Item[Int32]

取得帶有指定索引的屬性值。

Item[String]

取得指定名稱屬性的值(由該屬性從包裝讀取器回傳 Name )。

Item[String, String]

取得屬性值,並取得指定本地名稱與命名空間 URI(由 LocalName 屬性與 NamespaceURI 包裝讀取器回傳的屬性)。

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

屬性的索引。

屬性值

屬性值在指定索引處。

適用於

Item[String]

取得指定名稱屬性的值(由該屬性從包裝讀取器回傳 Name )。

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

屬性的限定名稱。

屬性值

指定屬性的值。 若未找到該屬性,則 null 返回。

適用於

Item[String, String]

取得屬性值,並取得指定本地名稱與命名空間 URI(由 LocalName 屬性與 NamespaceURI 包裝讀取器回傳的屬性)。

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。

屬性值

指定屬性的值。 若未找到該屬性,則 null 返回。

適用於