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
- 屬性