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

# DocumentFlags Enumeration

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

    [FlagsAttribute]
    public enum DocumentFlags

    <FlagsAttribute>
    Public Enumeration DocumentFlags

    [FlagsAttribute]
    public enum class DocumentFlags

    [<FlagsAttribute>]
    type DocumentFlags

Members

Member name | Value | Description
--- | --- | ---
None | 0 | Indicates that no attributes are present.
IsTransient | 1 | Indicates that the document is temporary and can be discarded after use. Only Windows Script engines honor this attribute.
AwaitDebuggerAndPause | 2 | Specifies that the script engine is to wait for a debugger connection and schedule a pause before executing the first line of the document. Windows Script engines do not honor this attribute. For it to be effective, debugging features must be enabled, a debugger must not already be connected, and the script engine must not already have waited for a debugger connection.

See Also

#### Reference

Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft