DocumentAccessFlags Enumeration |
Defines document access options.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax [FlagsAttribute]
public enum DocumentAccessFlags
<FlagsAttribute>
Public Enumeration DocumentAccessFlags
[FlagsAttribute]
public enum class DocumentAccessFlags
[<FlagsAttribute>]
type DocumentAccessFlags
Members Member name | Value | Description |
---|
None | 0 |
Specifies that no options are selected.
|
EnableFileLoading | 1 |
Specifies that documents may be loaded from the file system.
|
EnableWebLoading | 2 |
Specifies that documents may be downloaded from the Web.
|
EnableAllLoading | 3 |
Specifies that documents may be loaded from any location.
|
EnforceRelativePrefix | 4 |
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.
|
AllowCategoryMismatch | 8 |
Relaxes the requirement that a loaded document must be of the requested category.
|
UseAsyncLoadCallback | 16 |
Enables the use of AsyncLoadCallback instead of LoadCallback.
|
See Also