Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SaveBinary method of the SPFile class saves the file in binary format.
Parameters
file A byte array that contains the file.
Remarks
If versioning is enabled for the document library that contains the file, calling the SaveBinary method creates an SPFileVersion object.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security