ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.JavaScript
IArrayBuffer Interface
IArrayBufferView Interface
IDataView Interface
IJavaScriptObject Interface
ITypedArray Interface
ITypedArray<T> Interface
JavaScriptExtensions Class
JavaScriptObjectFlags Enumeration
JavaScriptObjectKind Enumeration
ModuleCategory Class

# JavaScriptObjectFlags Enumeration

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

    [FlagsAttribute]
    public enum JavaScriptObjectFlags

    <FlagsAttribute>
    Public Enumeration JavaScriptObjectFlags

    [FlagsAttribute]
    public enum class JavaScriptObjectFlags

    [<FlagsAttribute>]
    type JavaScriptObjectFlags

Members

Member name | Value | Description
--- | --- | ---
None | 0 | Indicates that no attributes are present.
Shared | 1 | Indicates that the object is an ArrayBuffer, DataView, or typed array whose contents reside in shared memory.
Async | 2 | Indicates that the object is an async function or async iterator.
Generator | 4 | Indicates that the object is a generator function or async generator function.
Pending | 8 | Indicates that the object is a promise that is not yet settled. If the object is a promise and this attribute is not present, then the promise is fulfilled unless Rejected is present.
Rejected | 16 | Indicates that the object is a rejected promise. This attribute has no meaning if Pending is present.

See Also

#### Reference

Microsoft.ClearScript.JavaScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft