WorksessionFileToByteArray Method (Int32) |
Writes the worksession as the contents of a .rws file.
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic byte[] ToByteArray(
int version
)
Public Function ToByteArray (
version As Integer
) As Byte()
Parameters
- version
- Type: SystemInt32
4 or 5.
Return Value
Type:
ByteThe file contents, or null if the worksession could not be written.
See Also