SaveBinary Method (Stream)

SPFile.SaveBinary Method (Stream)

Saves the file in binary format based on the specified stream.

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

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.MarshalByRefObject)]
public void SaveBinary(
	Stream file
)

Parameters

file
Type: System.IO.Stream

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

Show:
© 2016 Microsoft