XmlReaderResourceParser.GetAttributeFloatValue 方法

定义

重载

GetAttributeFloatValue(Int32, Single)
GetAttributeFloatValue(String, String, Single)

GetAttributeFloatValue(Int32, Single)

public float GetAttributeFloatValue (int index, float defaultValue);
abstract member GetAttributeFloatValue : int * single -> single
override this.GetAttributeFloatValue : int * single -> single

参数

index
Int32
defaultValue
Single

返回

实现

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

GetAttributeFloatValue(String, String, Single)

public float GetAttributeFloatValue (string? namespaceURI, string? attribute, float defaultValue);
abstract member GetAttributeFloatValue : string * string * single -> single
override this.GetAttributeFloatValue : string * string * single -> single

参数

namespaceURI
String
attribute
String
defaultValue
Single

返回

实现

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于