語言

RestrictionEntry.CreateBundleArrayEntry(String, RestrictionEntry[]) 方法

定義

建立一個類型的 #TYPE_BUNDLE_ARRAY條目。

[Android.Runtime.Register("createBundleArrayEntry", "(Ljava/lang/String;[Landroid/content/RestrictionEntry;)Landroid/content/RestrictionEntry;", "", ApiSince=23)]
public static Android.Content.RestrictionEntry? CreateBundleArrayEntry(string? key, Android.Content.RestrictionEntry[]? restrictionEntries);
[<Android.Runtime.Register("createBundleArrayEntry", "(Ljava/lang/String;[Landroid/content/RestrictionEntry;)Landroid/content/RestrictionEntry;", "", ApiSince=23)>]
static member CreateBundleArrayEntry : string * Android.Content.RestrictionEntry[] -> Android.Content.RestrictionEntry

參數

key
String

此限制的唯一關鍵

restrictionEntries
RestrictionEntry[]

巢狀限制條目陣列。 陣列只能包含型別 #TYPE_BUNDLE bundle為 的元素。

傳回

新設立的限制

屬性

備註

建立一個類型的 #TYPE_BUNDLE_ARRAY條目。

Java 文件 android.content.RestrictionEntry.createBundleArrayEntry(java.lang.String, android.content.RestrictionEntry[])

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

適用於