The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
JsonMediaTypeFormatter.WriteToStream Method (Type, Object, Stream, Encoding)
Called during serialization to write an object of the specified type to the specified stream.
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Public Overrides Sub WriteToStream ( type As Type, value As Object, writeStream As Stream, effectiveEncoding As Encoding )
Parameters
- type
-
Type:
System.Type
The type of the object to write.
- value
-
Type:
System.Object
The object to write.
- writeStream
-
Type:
System.IO.Stream
The stream to write to.
- effectiveEncoding
-
Type:
System.Text.Encoding
The encoding to use when writing.
Show: