Share via


SPFileVersion.OpenBinary method

Returns a byte array that contains the file version.

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

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