'Usage Dim instance As TextDocument Dim stream As Stream Dim value As Stream value = instance.ToJsonStream(stream)
Parameters
- stream
- (optional) The stream to which to write the serialized TextDocument. Will use a new MemoryStream if null or unspecified.
Return Value
The provided stream or newly created MemoryStream containing a JSON representation of the TextDocument.