SPFile.SaveBinary SPFile.SaveBinary SPFile.SaveBinary Method

Definition

Overloads

SaveBinary(Byte[]) SaveBinary(Byte[]) SaveBinary(Byte[])
SaveBinary(Stream) SaveBinary(Stream) SaveBinary(Stream)
SaveBinary(Byte[], Boolean) SaveBinary(Byte[], Boolean) SaveBinary(Byte[], Boolean)
SaveBinary(Stream, SPFileSaveBinaryParameters) SaveBinary(Stream, SPFileSaveBinaryParameters) SaveBinary(Stream, SPFileSaveBinaryParameters)
SaveBinary(Stream, Boolean) SaveBinary(Stream, Boolean) SaveBinary(Stream, Boolean)
SaveBinary(Stream, Boolean, Boolean, String, String, Stream, String) SaveBinary(Stream, Boolean, Boolean, String, String, Stream, String) SaveBinary(Stream, Boolean, Boolean, String, String, Stream, String)
SaveBinary(Stream, Boolean, Boolean, String, String, Stream, Boolean, String) SaveBinary(Stream, Boolean, Boolean, String, String, Stream, Boolean, String) SaveBinary(Stream, Boolean, Boolean, String, String, Stream, Boolean, String)

SaveBinary(Byte[]) SaveBinary(Byte[]) SaveBinary(Byte[])

public:
 void SaveBinary(cli::array <System::Byte> ^ file);
public void SaveBinary (byte[] file);
Public Sub SaveBinary (file As Byte())
Parameters
file
Byte[]

SaveBinary(Stream) SaveBinary(Stream) SaveBinary(Stream)

public:
 void SaveBinary(System::IO::Stream ^ file);
[Microsoft.SharePoint.Client.ClientCallableMethod(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.RESTful, Name="SaveBinaryStream")]
[Microsoft.SharePoint.Client.SubsetCallableExcludeMember(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.MarshalByRefObject)]
public void SaveBinary (System.IO.Stream file);
Public Sub SaveBinary (file As Stream)
Parameters

SaveBinary(Byte[], Boolean) SaveBinary(Byte[], Boolean) SaveBinary(Byte[], Boolean)

public:
 void SaveBinary(cli::array <System::Byte> ^ file, bool checkRequiredFields);
public void SaveBinary (byte[] file, bool checkRequiredFields);
Public Sub SaveBinary (file As Byte(), checkRequiredFields As Boolean)
Parameters
file
Byte[]
checkRequiredFields
Boolean Boolean Boolean

SaveBinary(Stream, SPFileSaveBinaryParameters) SaveBinary(Stream, SPFileSaveBinaryParameters) SaveBinary(Stream, SPFileSaveBinaryParameters)

public:
 void SaveBinary(System::IO::Stream ^ file, Microsoft::SharePoint::SPFileSaveBinaryParameters ^ parameters);
[Microsoft.SharePoint.Client.SubsetCallableExcludeMember(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.PerSpec)]
public void SaveBinary (System.IO.Stream file, Microsoft.SharePoint.SPFileSaveBinaryParameters parameters);
Public Sub SaveBinary (file As Stream, parameters As SPFileSaveBinaryParameters)
Parameters

SaveBinary(Stream, Boolean) SaveBinary(Stream, Boolean) SaveBinary(Stream, Boolean)

public:
 void SaveBinary(System::IO::Stream ^ file, bool checkRequiredFields);
[Microsoft.SharePoint.Client.SubsetCallableExcludeMember(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.MarshalByRefObject)]
public void SaveBinary (System.IO.Stream file, bool checkRequiredFields);
Public Sub SaveBinary (file As Stream, checkRequiredFields As Boolean)
Parameters
checkRequiredFields
Boolean Boolean Boolean

SaveBinary(Stream, Boolean, Boolean, String, String, Stream, String) SaveBinary(Stream, Boolean, Boolean, String, String, Stream, String) SaveBinary(Stream, Boolean, Boolean, String, String, Stream, String)

public:
 void SaveBinary(System::IO::Stream ^ file, bool checkRequiredFields, bool createVersion, System::String ^ etagMatch, System::String ^ lockIdMatch, System::IO::Stream ^ fileFormatMetaInfo, [Runtime::InteropServices::Out] System::String ^ % etagNew);
[Microsoft.SharePoint.Client.SubsetCallableExcludeMember(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.MarshalByRefObject)]
public void SaveBinary (System.IO.Stream file, bool checkRequiredFields, bool createVersion, string etagMatch, string lockIdMatch, System.IO.Stream fileFormatMetaInfo, out string etagNew);
Public Sub SaveBinary (file As Stream, checkRequiredFields As Boolean, createVersion As Boolean, etagMatch As String, lockIdMatch As String, fileFormatMetaInfo As Stream, ByRef etagNew As String)
Parameters
checkRequiredFields
Boolean Boolean Boolean
createVersion
Boolean Boolean Boolean
etagMatch
String String String
lockIdMatch
String String String
fileFormatMetaInfo
Stream Stream Stream
etagNew
String String String

SaveBinary(Stream, Boolean, Boolean, String, String, Stream, Boolean, String) SaveBinary(Stream, Boolean, Boolean, String, String, Stream, Boolean, String) SaveBinary(Stream, Boolean, Boolean, String, String, Stream, Boolean, String)

public:
 void SaveBinary(System::IO::Stream ^ file, bool checkRequiredFields, bool createVersion, System::String ^ etagMatch, System::String ^ lockIdMatch, System::IO::Stream ^ fileFormatMetaInfo, bool requireWebFilePermissions, [Runtime::InteropServices::Out] System::String ^ % etagNew);
[Microsoft.SharePoint.Client.SubsetCallableExcludeMember(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.PerSpec)]
public void SaveBinary (System.IO.Stream file, bool checkRequiredFields, bool createVersion, string etagMatch, string lockIdMatch, System.IO.Stream fileFormatMetaInfo, bool requireWebFilePermissions, out string etagNew);
Public Sub SaveBinary (file As Stream, checkRequiredFields As Boolean, createVersion As Boolean, etagMatch As String, lockIdMatch As String, fileFormatMetaInfo As Stream, requireWebFilePermissions As Boolean, ByRef etagNew As String)
Parameters
checkRequiredFields
Boolean Boolean Boolean
createVersion
Boolean Boolean Boolean
etagMatch
String String String
lockIdMatch
String String String
fileFormatMetaInfo
Stream Stream Stream
requireWebFilePermissions
Boolean Boolean Boolean
etagNew
String String String

Applies to