NSObject.DidChange 方法

定义

重载

DidChange(NSKeyValueChange, NSIndexSet, NSString)

指示对多关系的索引发生了更改。

DidChange(NSString, NSKeyValueSetMutationKind, NSSet)

DidChange(NSKeyValueChange, NSIndexSet, NSString)

指示对多关系的索引发生了更改。

[Foundation.Export("didChange:valuesAtIndexes:forKey:")]
public virtual void DidChange (Foundation.NSKeyValueChange changeKind, Foundation.NSIndexSet indexes, Foundation.NSString forKey);
abstract member DidChange : Foundation.NSKeyValueChange * Foundation.NSIndexSet * Foundation.NSString -> unit
override this.DidChange : Foundation.NSKeyValueChange * Foundation.NSIndexSet * Foundation.NSString -> unit

参数

changeKind
NSKeyValueChange
indexes
NSIndexSet
forKey
NSString

已更改的密钥的名称。

属性

适用于

DidChange(NSString, NSKeyValueSetMutationKind, NSSet)

[Foundation.Export("didChangeValueForKey:withSetMutation:usingObjects:")]
public virtual void DidChange (Foundation.NSString forKey, Foundation.NSKeyValueSetMutationKind mutationKind, Foundation.NSSet objects);
abstract member DidChange : Foundation.NSString * Foundation.NSKeyValueSetMutationKind * Foundation.NSSet -> unit
override this.DidChange : Foundation.NSString * Foundation.NSKeyValueSetMutationKind * Foundation.NSSet -> unit

参数

forKey
NSString

已更改的密钥的名称。

objects
NSSet
属性

适用于