SPFile.SaveBinary Method
Include Protected Members
Include Inherited Members
Saves the file in binary format.
Overload List
Name | Description | |
---|---|---|
SaveBinary([]) | Saves the file in binary format based on the specified byte array. | |
SaveBinary(Stream) | Saves the file in binary format based on the specified stream. | |
SaveBinary([], Boolean) | Saves the file in binary format based on the specified byte array and a Boolean value that specifies whether to check required fields. | |
SaveBinary(Stream, SPFileSaveBinaryParameters) | Saves the file in binary format based on a stream that contains a file and an SPFileSaveBinaryParameters object with additional parameters. | |
SaveBinary(Stream, Boolean) | Saves the file in binary format based on the specified stream and a Boolean value that specifies whether to check required fields. | |
SaveBinary(Stream, Boolean, Boolean, String, String, Stream, String) | Saves the file and file format metadata based on the specified streams, strings, and optional ETag value. | |
SaveBinary(Stream, Boolean, Boolean, String, String, Stream, Boolean, String) | Saves the file and file format metadata based on the specified streams, strings, Boolean value, and optional ETag value. |
Top
Remarks
If versioning is enabled for the document library that contains the file, calling the SaveBinary method creates an SPFileVersion object.