語言

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

定義

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

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

參數

key
String

此限制的唯一關鍵

restrictionEntries
RestrictionEntry[]

巢狀限制條目陣列。

傳回

新設立的限制

屬性

備註

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

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

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

適用於