Lenguaje

XmlReaderResourceParser.GetAttributeFloatValue Método

Definición

Sobrecargas

Nombre Description
GetAttributeFloatValue(Int32, Single)

Devuelve el valor float del atributo en "index".

GetAttributeFloatValue(String, String, Single)

Devuelve el valor float de 'attribute'.

GetAttributeFloatValue(Int32, Single)

Devuelve el valor float del atributo en "index".

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

Parámetros

index
Int32

Índice del atributo deseado, 0...count-1.

defaultValue
Single

Qué devolver si no se encuentra el atributo.

Devoluciones

Valor resultante.

Implementaciones

Comentarios

Devuelve el valor float del atributo en "index".

Referencia de Android para android.util.AttributeSet.getAttributeFloatValue.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

GetAttributeFloatValue(String, String, Single)

Devuelve el valor float de 'attribute'.

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

Parámetros

namespaceURI
String
attribute
String

Atributo que se va a recuperar.

defaultValue
Single

Qué devolver si no se encuentra el atributo.

Devoluciones

Valor resultante.

Implementaciones

Comentarios

Devuelve el valor float de 'attribute'.

Referencia de Android para android.util.AttributeSet.getAttributeFloatValue.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a