Click or drag to resize

DocumentAccessFlags Enumeration

Defines document access options.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
public enum DocumentAccessFlags
Member nameValueDescription
None0 Specifies that no options are selected.
EnableFileLoading1 Specifies that documents may be loaded from the file system.
EnableWebLoading2 Specifies that documents may be downloaded from the Web.
EnableAllLoading3 Specifies that documents may be loaded from any location.
EnforceRelativePrefix4 Specifies that a document path must begin with a segment of "." or ".." to be considered a relative path. By default, any path that is not explicitly a top-level or root path is eligible.
AllowCategoryMismatch8 Relaxes the requirement that a loaded document must be of the requested category.
UseAsyncLoadCallback16 Enables the use of AsyncLoadCallback instead of LoadCallback.
See Also