ABPeoplePickerNavigationController.PredicateForEnablingPerson 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用此属性可设置一个谓词,用于确定是否可以选择该人员。
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSPredicate PredicateForEnablingPerson { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("predicateForEnablingPerson", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setPredicateForEnablingPerson:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.PredicateForEnablingPerson : Foundation.NSPredicate with get, set
属性值
如果值为 null,则所有人员都是可选择的;否则,只有与谓词匹配的人员才会为 。
此值可为 null
。
- 属性