语言

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[])。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于