共用方式為


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
)

參數

傳回值

類型:[]

請參閱

參照

GeneralUtility 類別

GeneralUtility 成員

Microsoft.Office.Project.Server.Library 命名空間