WorkspaceDocument Constructor |
Creates a new
WorkspaceDocument instance using the provided language, text, uri, and version.
Namespace: VSCode.EditorAssembly: VSCode (in VSCode.dll) Version: 1.0.0
Syntax public WorkspaceDocument(
string languageId,
string text,
string uri,
int version
)
Parameters
- languageId
- Type: SystemString
The VS Code language ID to assigned to this document. - text
- Type: SystemString
The initial text of this document. - uri
- Type: SystemString
The VS Code URI of this document. - version
- Type: SystemInt32
The initial version of this document.
See Also