AttributeListImpl.GetValue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetValue(Int32) |
已过时.
获取属性的值(按位置)。 |
GetValue(String) |
已过时.
获取属性的值(按名称)。 |
GetValue(Int32)
注意
deprecated
获取属性的值(按位置)。
[Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler")]
[System.Obsolete("deprecated")]
public virtual string? GetValue (int i);
[<Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetValue : int -> string
override this.GetValue : int -> string
参数
- i
- Int32
属性在列表中的位置。
返回
作为字符串的属性值,如果没有位于该位置的属性,则为 null。
实现
- 属性
注解
获取属性的值(按位置)。
适用于 . 的 org.xml.sax.helpers.AttributeListImpl.getValue(int)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
另请参阅
适用于
GetValue(String)
注意
deprecated
获取属性的值(按名称)。
[Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual string? GetValue (string? name);
[<Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member GetValue : string -> string
override this.GetValue : string -> string
参数
- name
- String
属性名称。
返回
如果属性不存在,则为命名属性的值或 null。
实现
- 属性
注解
获取属性的值(按名称)。
适用于 . 的 org.xml.sax.helpers.AttributeListImpl.getValue(java.lang.String)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。