GeneralUtility.CompressFromObject 方法
序列化物件以壓縮格式。
命名空間: Microsoft.Office.Project.Server.Library
組件: Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)
語法
'宣告
Public Shared Function CompressFromObject ( _
obj As Object _
) As Byte()
'用途
Dim obj As Object
Dim returnValue As Byte()
returnValue = GeneralUtility.CompressFromObject(obj)
public static byte[] CompressFromObject(
Object obj
)
參數
obj
類型:System.Object若要壓縮物件。
傳回值
類型:[]