DocumentSettingsAddSystemDocument Method (String, String) |
Adds a system document to the configuration.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntaxpublic void AddSystemDocument(
string identifier,
string contents
)
Public Sub AddSystemDocument (
identifier As String,
contents As String
)
public:
void AddSystemDocument(
String^ identifier,
String^ contents
)
member AddSystemDocument :
identifier : string *
contents : string -> unit
Parameters
- identifier
- Type: SystemString
An identifier for the document. - contents
- Type: SystemString
A string containing the document's contents.
Remarks
System documents take precedence over loaded documents. Once this method is invoked,
document access using this configuration will always map the combination of
identifier and
Script to the
specified document, bypassing the configuration's document loader.
See Also