ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.JavaScript
ModuleCategory Class
ModuleCategory Properties

# ModuleCategory Class

Defines document categories for JavaScript modules.
Inheritance Hierarchy
SystemObject
Microsoft.ClearScript.JavaScriptModuleCategory
Namespace: Microsoft.ClearScript.JavaScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public static class ModuleCategory

    Public NotInheritable Class ModuleCategory

    public ref class ModuleCategory abstract sealed

    [<AbstractClassAttribute>]
    [<SealedAttribute>]
    type ModuleCategory = class end

The ModuleCategory type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| CommonJS | Gets the document category for CommonJS modules.
| Standard | Gets the document category for standard ECMAScript 6 modules.

Top
See Also

#### Reference

Microsoft.ClearScript.JavaScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft