ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
Document Class
Document Constructor
Document Properties
Document Methods

# Document Class

Provides an abstract representation of a document.
Inheritance Hierarchy
SystemObject
Microsoft.ClearScriptDocument
Microsoft.ClearScriptStringDocument
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public abstract class Document

    Public MustInherit Class Document

    public ref class Document abstract

    [<AbstractClassAttribute>]
    type Document = class end

The Document type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| Document | Initializes a new Document instance.

Top
Properties

| Name | Description
--- | --- | ---
| Contents | Gets a stream that provides read access to the document.
| Encoding | Gets the document's character encoding.
| Info | Gets a structure containing meta-information for the document.

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