XmlReaderResourceParser.GetAttributeListValue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| GetAttributeListValue(String, String, String[], Int32) |
此操作不受支持 XmlReaderResourceParser。 |
| GetAttributeListValue(Int32, String[], Int32) |
此操作不受支持 XmlReaderResourceParser。 |
GetAttributeListValue(String, String, String[], Int32)
此操作不受支持 XmlReaderResourceParser。
public int GetAttributeListValue(string? namespaceURI, string? attribute, string[]? options, int defaultValue);
abstract member GetAttributeListValue : string * string * string[] * int -> int
override this.GetAttributeListValue : string * string * string[] * int -> int
参数
- namespaceURI
- String
- attribute
- String
要检索的属性的名称。
- options
- String[]
要检查其值的字符串列表。
- defaultValue
- Int32
接口指定的回退值;此实现不支持该操作。
返回
不返回。
实现
例外
注解
此 XML 读取器适配器不支持此操作。
Android 参考。android.util.AttributeSet.getAttributeListValue
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
GetAttributeListValue(Int32, String[], Int32)
此操作不受支持 XmlReaderResourceParser。
public int GetAttributeListValue(int index, string[]? options, int defaultValue);
abstract member GetAttributeListValue : int * string[] * int -> int
override this.GetAttributeListValue : int * string[] * int -> int
参数
- index
- Int32
所需属性的索引,0...count-1。
- options
- String[]
要检查其值的字符串列表。
- defaultValue
- Int32
接口指定的回退值;此实现不支持该操作。
返回
不返回。
实现
例外
注解
此 XML 读取器适配器不支持此操作。
Android 参考。android.util.AttributeSet.getAttributeListValue
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。