Export (0) Print
Expand All

SPFile.SaveBinary method (Stream, SPFileSaveBinaryParameters)

Saves the file in binary format based on a stream that contains a file and an SPFileSaveBinaryParameters object with additional parameters.

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

public void SaveBinary(
	Stream file,
	SPFileSaveBinaryParameters parameters
)

Parameters

file
Type: System.IO.Stream

A System.IO.Stream object that contains the file.

parameters
Type: Microsoft.SharePoint.SPFileSaveBinaryParameters

An SPFileSaveBinaryParameters object that contains all other parameters to the method.

Show:
© 2014 Microsoft