Upravit

Sdílet prostřednictvím


UIDocumentState Enum

Definition

An enumeration indicating the editing/saving state of a UIDocument.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UIDocumentState
type UIDocumentState = 
Inheritance
UIDocumentState
Attributes

Fields

Name Value Description
Normal 0

The UIDocument is open, editing is allowed, and there are no detected conflicts.

Closed 1

Either the document did not open successfully or has been closed.

InConflict 2

A conflict exists. The application developer should resolve these by examining the results of GetOtherVersions(NSUrl).

SavingError 4

Something has interfered with the proper saving of the UIDocument.

EditingDisabled 8

The document is busy and the application developer must not allow the application user to introduce changes.

ProgressAvailable 16

Indicates the progress information is available for the downloading document.

Applies to

See also