다음을 통해 공유


IAttributeSet.GetAttributeIntValue 메서드

정의

오버로드

GetAttributeIntValue(Int32, Int32)

특성의 정수 값을 'index'로 반환합니다.

GetAttributeIntValue(String, String, Int32)

'attribute'의 정수 값을 반환합니다.

GetAttributeIntValue(Int32, Int32)

특성의 정수 값을 'index'로 반환합니다.

[Android.Runtime.Register("getAttributeIntValue", "(II)I", "GetGetAttributeIntValue_IIHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetAttributeIntValue (int index, int defaultValue);
[<Android.Runtime.Register("getAttributeIntValue", "(II)I", "GetGetAttributeIntValue_IIHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeIntValue : int * int -> int

매개 변수

index
Int32

원하는 특성의 인덱스( 0...count-1)

defaultValue
Int32

특성을 찾을 수 없는 경우 반환할 값입니다.

반환

결과 값입니다.

특성

설명

특성의 정수 값을 'index'로 반환합니다.

에 대한 android.util.AttributeSet.getAttributeIntValue(int, int)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상

GetAttributeIntValue(String, String, Int32)

'attribute'의 정수 값을 반환합니다.

[Android.Runtime.Register("getAttributeIntValue", "(Ljava/lang/String;Ljava/lang/String;I)I", "GetGetAttributeIntValue_Ljava_lang_String_Ljava_lang_String_IHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetAttributeIntValue (string? namespace, string? attribute, int defaultValue);
[<Android.Runtime.Register("getAttributeIntValue", "(Ljava/lang/String;Ljava/lang/String;I)I", "GetGetAttributeIntValue_Ljava_lang_String_Ljava_lang_String_IHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeIntValue : string * string * int -> int

매개 변수

namespace
String

검색할 특성의 네임스페이스입니다.

attribute
String

검색할 특성입니다.

defaultValue
Int32

특성을 찾을 수 없는 경우 반환할 값입니다.

반환

결과 값입니다.

특성

설명

'attribute'의 정수 값을 반환합니다.

에 대한 android.util.AttributeSet.getAttributeIntValue(java.lang.String, java.lang.String, int)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상