Click or drag to resize
WorkspaceDocument Constructor
Creates a new WorkspaceDocument instance using the provided language, text, uri, and version.

Namespace: VSCode.Editor
Assembly: VSCode (in VSCode.dll) Version: 1.0.0
Syntax
C#
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