Modifica

Condividi tramite


NSObject.WillChange Method

Definition

Overloads

WillChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates that the values of the specified indices in the specified key are about to change.

WillChange(NSString, NSKeyValueSetMutationKind, NSSet)

WillChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates that the values of the specified indices in the specified key are about to change.

[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

Parameters

changeKind
NSKeyValueChange
indexes
NSIndexSet
forKey
NSString

The name of the key that is going to be changed.

Attributes

Applies to

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

Parameters

forKey
NSString

The name of the key that is going to be changed.

objects
NSSet
Attributes

Applies to