Share via


SPFileVersion.OpenBinaryStream method

Opens the file as a stream.

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

Syntax

'Declaration
Public Function OpenBinaryStream As Stream
'Usage
Dim instance As SPFileVersion
Dim returnValue As Stream

returnValue = instance.OpenBinaryStream()
public Stream OpenBinaryStream()

Return value

Type: System.IO.Stream
An SPFileStream object that contains the file version.

Remarks

Exposes a Stream object around a SharePoint Foundation file version.

See also

Reference

SPFileVersion class

SPFileVersion members

Microsoft.SharePoint namespace