Share via


NSMergePolicy.ResolveConstraintConflicts 方法

定义

尝试解决指定的约束冲突,并报告任何错误。

[Foundation.Export("resolveConstraintConflicts:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ResolveConstraintConflicts (CoreData.NSConstraintConflict[] list, out Foundation.NSError error);
abstract member ResolveConstraintConflicts : CoreData.NSConstraintConflict[] *  -> bool
override this.ResolveConstraintConflicts : CoreData.NSConstraintConflict[] *  -> bool

参数

error
NSError

内容待定。

此参数可以为 null

返回

属性

适用于