ABPeoplePickerNavigationController.PredicateForEnablingPerson 属性

定义

使用此属性可设置一个谓词,用于确定是否可以选择该人员。

[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

属性

适用于