Click or drag to resize

DocumentSettings Class

Represents a document access configuration.
Inheritance Hierarchy
SystemObject
  Microsoft.ClearScriptDocumentSettings

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.5
Syntax
public class DocumentSettings

The DocumentSettings type exposes the following members.

Constructors
  NameDescription
Public methodDocumentSettings
Initializes a new DocumentSettings instance.
Top
Properties
  NameDescription
Public propertyAccessFlags
Gets or sets document access options.
Public propertyContextCallback
Gets or sets an optional document context callback.
Public propertyFileNameExtensions
Gets or sets a semicolon-delimited list of supported file name extensions.
Public propertyLoadCallback
Gets or set an optional method to be called when a document is loaded.
Public propertyLoader
Gets or sets a document loader.
Public propertySearchPath
Gets or sets a semicolon-delimited list of directory URLs or paths to search for documents.
Top
Methods
  NameDescription
Public methodAddSystemDocument(String, Document)
Adds the specified document as a system document to the configuration.
Public methodAddSystemDocument(String, String)
Adds a system document to the configuration.
Public methodAddSystemDocument(String, DocumentCategory, String)
Adds a system document with the specified category to the configuration.
Public methodAddSystemDocument(String, DocumentCategory, String, DocumentContextCallback)
Adds a system document with the specified category and context callback to the configuration.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This class can be extended to accommodate custom document loaders.
See Also