NSObject.DidChange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
已更改的密钥的名称。
- mutationKind
- NSKeyValueSetMutationKind
- objects
- NSSet
- 属性