GeneralUtility.CompressFromObject Method
Serializes an object to a compressed format.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Public Shared Function CompressFromObject ( _
obj As Object _
) As Byte()
'Usage
Dim obj As Object
Dim returnValue As Byte()
returnValue = GeneralUtility.CompressFromObject(obj)
public static byte[] CompressFromObject(
Object obj
)
Parameters
- obj
Type: System.Object
The object to compress.
Return Value
Type: []