UIDocument.UpdateChangeCount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UpdateChangeCount(UIDocumentChangeKind) |
Updates the change counter by indicating the kind of change. |
UpdateChangeCount(NSObject, UIDocumentSaveOperation) |
When overridden, can customize the change count with reference to the specified |
UpdateChangeCount(UIDocumentChangeKind)
Updates the change counter by indicating the kind of change.
[Foundation.Export("updateChangeCount:")]
public virtual void UpdateChangeCount (UIKit.UIDocumentChangeKind change);
abstract member UpdateChangeCount : UIKit.UIDocumentChangeKind -> unit
override this.UpdateChangeCount : UIKit.UIDocumentChangeKind -> unit
Parameters
- change
- UIDocumentChangeKind
Change to be updated.
- Attributes
Remarks
This can be used from a background thread.
Applies to
UpdateChangeCount(NSObject, UIDocumentSaveOperation)
When overridden, can customize the change count with reference to the specified changeCountToken
.
[Foundation.Export("updateChangeCountWithToken:forSaveOperation:")]
public virtual void UpdateChangeCount (Foundation.NSObject changeCountToken, UIKit.UIDocumentSaveOperation saveOperation);
abstract member UpdateChangeCount : Foundation.NSObject * UIKit.UIDocumentSaveOperation -> unit
override this.UpdateChangeCount : Foundation.NSObject * UIKit.UIDocumentSaveOperation -> unit
Parameters
- changeCountToken
- NSObject
Token to be overridden.
- saveOperation
- UIDocumentSaveOperation
This represents a constant indicating if a document file is being written for the first time or being overwritten.
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.