ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
DocumentCategory Class
DocumentCategory Properties
DocumentCategory Methods

# DocumentCategory Class

Represents a document category.
Inheritance Hierarchy
SystemObject
Microsoft.ClearScriptDocumentCategory
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public abstract class DocumentCategory

    Public MustInherit Class DocumentCategory

    public ref class DocumentCategory abstract

    [<AbstractClassAttribute>]
    type DocumentCategory = class end

The DocumentCategory type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Json | Gets the document category for JSON documents.
| MaxCacheSize | Gets or sets the maximum cache size for the document category.
| Script | Gets the document category for normal scripts.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
| GetHashCode | Serves as the default hash function. (Inherited from Object)
| GetType | Gets the Type of the current instance. (Inherited from Object)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
| ToString | Returns a string that represents the current object. (Inherited from Object)

Top
See Also

#### Reference

Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft