语言

IXmlResourceParser.GetAttributeName(Int32) 方法

定义

获取指定属性的名称。

public string GetAttributeName(int pos);
abstract member GetAttributeName : int -> string

参数

pos
Int32

属性的从零开始的索引。

返回

启用命名空间时的本地名称;否则为属性名称。

实现

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于