ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
AsyncDocumentLoadCallback Delegate
ConcurrentPropertyBag Class
ContinuationCallback Delegate
CustomAttributeLoader Class
DefaultDocumentLoader Class
DefaultScriptUsageAttribute Class
Document Class
DocumentAccessFlags Enumeration
DocumentCategory Class
DocumentContextCallback Delegate
DocumentFlags Enumeration
DocumentInfo Structure
DocumentLoadCallback Delegate
DocumentLoader Class
DocumentSettings Class
DynamicHostObject Class
EventConnection Class
EventConnection<T> Class
EventSource Class
EventSource<T> Class
ExtendedHostFunctions Class
Extensions Class
HostFunctions Class
HostItemFlags Enumeration
HostSettings Class
HostTypeCollection Class
ImmutableValueAttribute Class
IPropertyBag Interface
IScriptableObject Interface
IScriptEngine Interface
IScriptEngineException Interface
IScriptObject Interface
NoDefaultScriptAccessAttribute Class
NoScriptAccessAttribute Class
PropertyBag Class
ScriptAccess Enumeration
ScriptEngine Class
ScriptEngineException Class
ScriptInterruptedException Class
ScriptMemberAttribute Class
ScriptMemberFlags Enumeration
ScriptObject Class
ScriptUsageAttribute Class
StringDocument Class
Undefined Class
ValueRef Class
ValueRef<T> Class
VoidResult Class

# DocumentAccessFlags Enumeration

Defines document access options.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    [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

#### Reference

Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft