DelegatingXmlDictionaryReader.GetAttribute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetAttribute(Int32) |
取得 InnerReader 屬性在指定索引的值。 |
| GetAttribute(String) |
取得 InnerReader 屬性的值與名稱。 |
| GetAttribute(String, String) |
取得 InnerReader 屬性的值,並以名字和命名空間 Uri 進行。 |
GetAttribute(String, String)
取得 InnerReader 屬性的值,並以名字和命名空間 Uri 進行。
public override string GetAttribute(string name, string namespace);
override this.GetAttribute : string * string -> string
Public Overrides Function GetAttribute (name As String, namespace As String) As String
參數
- name
- String
該屬性的當地名稱。
- namespace
- String
屬性的命名空間。
傳回
屬性的值。 若未找到該屬性,則回傳 null。
備註
這種方法不會打動讀者。