語言

ViewGroup.GetChildAt(Int32) 方法

定義

回傳群組中指定位置的視圖。

[Android.Runtime.Register("getChildAt", "(I)Landroid/view/View;", "GetGetChildAt_IHandler")]
public virtual Android.Views.View? GetChildAt(int index);
[<Android.Runtime.Register("getChildAt", "(I)Landroid/view/View;", "GetGetChildAt_IHandler")>]
abstract member GetChildAt : int -> Android.Views.View
override this.GetChildAt : int -> Android.Views.View

參數

index
Int32

從那裡獲得視野的位置

傳回

該視角為指定位置,若該位置不存在於群中則為空視角

屬性

備註

回傳群組中指定位置的視圖。

Java 文件 android.view.ViewGroup.getChildAt(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於