共用方式為


SPFileVersion.OpenBinary method

傳回位元組陣列,包含的檔案版本。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Function OpenBinary As Byte()
'用途
Dim instance As SPFileVersion
Dim returnValue As Byte()

returnValue = instance.OpenBinary()
public byte[] OpenBinary()

傳回值

Type: []
位元組陣列,包含檔案版本。

備註

使用OpenBinary方法會造成目前的檔案變成SPFileVersionCollection物件,代表檔案的版本集合中的檔案的最新版本。

請參閱

參照

SPFileVersion class

SPFileVersion members

Microsoft.SharePoint namespace