共用方式為


NSObject.WillChange 方法

定義

多載

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

即將變更的索引鍵名稱。

objects
NSSet
屬性

適用於