語言

FragmentHostCallback.OnFindViewById(Int32) 方法

定義

回傳給你指定的資源 ID 的視圖。

[Android.Runtime.Register("onFindViewById", "(I)Landroid/view/View;", "GetOnFindViewById_IHandler", ApiSince=23)]
public override Android.Views.View? OnFindViewById(int id);
[<Android.Runtime.Register("onFindViewById", "(I)Landroid/view/View;", "GetOnFindViewById_IHandler", ApiSince=23)>]
override this.OnFindViewById : int -> Android.Views.View

參數

id
Int32

int

傳回

這個值可能是 Null。

屬性

備註

回傳給你指定的資源 ID 的視圖。 如果視圖不是這個容器的子,可能會回傳 null。

Android 參考資料。android.app.FragmentHostCallback.onFindViewById

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

適用於