语言

RestrictionEntry.SetRestrictions(RestrictionEntry[]) 方法

定义

设置可能的限制项的数组,此条目可能包含。

[Android.Runtime.Register("setRestrictions", "([Landroid/content/RestrictionEntry;)V", "GetSetRestrictions_arrayLandroid_content_RestrictionEntry_Handler", ApiSince=23)]
public virtual void SetRestrictions(Android.Content.RestrictionEntry[]? restrictions);
[<Android.Runtime.Register("setRestrictions", "([Landroid/content/RestrictionEntry;)V", "GetSetRestrictions_arrayLandroid_content_RestrictionEntry_Handler", ApiSince=23)>]
abstract member SetRestrictions : Android.Content.RestrictionEntry[] -> unit
override this.SetRestrictions : Android.Content.RestrictionEntry[] -> unit

参数

restrictions
RestrictionEntry[]

要设置的子限制条目。

特性

注解

设置可能的限制项的数组,此条目可能包含。

此方法仅适用于类型和#TYPE_BUNDLE#TYPE_BUNDLE_ARRAY

Java文档android.content.RestrictionEntry.setRestrictions(android.content.RestrictionEntry[])。

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

适用于