Condividi tramite


SPFileVersion.OpenBinary Method

Returns a byte array that contains the file version.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Function OpenBinary As Byte()
'Usage
Dim instance As SPFileVersion
Dim returnValue As Byte()

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

Return Value

Type: []
A byte array that contains the file version.

Remarks

Use of the OpenBinary method causes the current file to become the most recent version of the file within the SPFileVersionCollection object representing the collection of versions for the file.

See Also

Reference

SPFileVersion Class

SPFileVersion Members

Microsoft.SharePoint Namespace