BinaryTokenStreamWriter.TryWriteSimpleObject(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Try to write a simple type (non-array) value to the stream.
public bool TryWriteSimpleObject (object obj);
member this.TryWriteSimpleObject : obj -> bool
abstract member TryWriteSimpleObject : obj -> bool
override this.TryWriteSimpleObject : obj -> bool
Public Function TryWriteSimpleObject (obj As Object) As Boolean
Parameters
- obj
- Object
Input object to be written to the output stream.
Returns
Returns true
if the value was successfully written to the output stream.