DelegatingXmlDictionaryReader.GetAttribute 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| GetAttribute(Int32) |
获取给定索引处 InnerReader 属性的值。 |
| GetAttribute(String) |
获取具有给定名称的 InnerReader 属性的值。 |
| GetAttribute(String, String) |
获取具有给定名称和命名空间 URI 的 InnerReader 属性的值。 |
GetAttribute(String, String)
获取具有给定名称和命名空间 URI 的 InnerReader 属性的值。
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。
注解
该方法不会移动读取器。