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

# StringDocument Constructor

Initializes a new StringDocument instance.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public StringDocument(
    	DocumentInfo info,
    	string contents
    )

    Public Sub New (
    	info As DocumentInfo,
    	contents As String
    )

    public:
    StringDocument(
    	DocumentInfo info,
    	String^ contents
    )

    new :
            info : DocumentInfo *
            contents : string -> StringDocument

#### Parameters

info DocumentInfo
  A structure containing meta-information for the document.
contents String
  A string containing the document's contents.

See Also

#### Reference

StringDocument Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft