NSObject.WillChange 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
WillChange(NSKeyValueChange, NSIndexSet, NSString) |
表示指定索引鍵中指定索引的值即將變更。 |
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) |
WillChange(NSKeyValueChange, NSIndexSet, NSString)
表示指定索引鍵中指定索引的值即將變更。
[Foundation.Export("willChange:valuesAtIndexes:forKey:")]
public virtual void WillChange (Foundation.NSKeyValueChange changeKind, Foundation.NSIndexSet indexes, Foundation.NSString forKey);
abstract member WillChange : Foundation.NSKeyValueChange * Foundation.NSIndexSet * Foundation.NSString -> unit
override this.WillChange : Foundation.NSKeyValueChange * Foundation.NSIndexSet * Foundation.NSString -> unit
參數
- changeKind
- NSKeyValueChange
- indexes
- NSIndexSet
- forKey
- NSString
即將變更的索引鍵名稱。
- 屬性
適用於
WillChange(NSString, NSKeyValueSetMutationKind, NSSet)
[Foundation.Export("willChangeValueForKey:withSetMutation:usingObjects:")]
public virtual void WillChange (Foundation.NSString forKey, Foundation.NSKeyValueSetMutationKind mutationKind, Foundation.NSSet objects);
abstract member WillChange : Foundation.NSString * Foundation.NSKeyValueSetMutationKind * Foundation.NSSet -> unit
override this.WillChange : Foundation.NSString * Foundation.NSKeyValueSetMutationKind * Foundation.NSSet -> unit
參數
- forKey
- NSString
即將變更的索引鍵名稱。
- mutationKind
- NSKeyValueSetMutationKind
- objects
- NSSet
- 屬性