Idioma

XmlReaderResourceParser.GetAttributeFloatValue Método

Definição

Sobrecargas

Nome Description
GetAttributeFloatValue(Int32, Single)

Retornar o valor flutuante do atributo em 'index'.

GetAttributeFloatValue(String, String, Single)

Retornar o valor flutuante de 'attribute'.

GetAttributeFloatValue(Int32, Single)

Retornar o valor flutuante do atributo em '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 do atributo desejado, 0...count-1.

defaultValue
Single

O que retornar se o atributo não for encontrado.

Retornos

Valor resultante.

Implementações

Comentários

Retornar o valor flutuante do atributo em 'index'.

Referência do Android para android.util.AttributeSet.getAttributeFloatValue.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

GetAttributeFloatValue(String, String, Single)

Retornar o valor flutuante 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

O atributo a ser recuperado.

defaultValue
Single

O que retornar se o atributo não for encontrado.

Retornos

Valor resultante.

Implementações

Comentários

Retornar o valor flutuante de 'attribute'.

Referência do Android para android.util.AttributeSet.getAttributeFloatValue.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a