Compartilhar via


SaveBinary Method

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