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.
file A byte array that contains the file.
If versioning is enabled for the document library that contains the file, calling the SaveBinary method creates an SPFileVersion object.
Platforms: Microsoft Windows Server 2003
Security: Code Access Security