File.SaveBinaryDirect 方法

Uploads the specified file to a SharePoint site without requiring an ExecuteQuery() method call.

重载 列表

  名称 说明
公共方法静态成员 SaveBinaryDirect(ClientContext, String, Stream, Boolean) Uploads the specified file to a SharePoint site without requiring an ExecuteQuery() method call.
公共方法静态成员 SaveBinaryDirect(ClientContext, String, Stream, String) Uploads the specified file to a SharePoint site with the specified Etag without requiring an ExecuteQuery() method call.

页首

备注

The SaveBinary operation allows file sizes of about 3.3 MB. Consider using SaveBinaryDirect(ClientContext, String, Stream, Boolean) or SaveBinaryDirect(ClientContext, String, Stream, String) if you need a more efficient alternative.

另请参阅

引用

File 类

File 成员

Microsoft.SharePoint.Client 命名空间