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.3.7
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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This class can be extended to accommodate custom document loaders.
See Also