SPFile.SaveBinary method (Stream, Boolean)
根據指定的資料流和布林值,指定是否要檢查必要的欄位的二進位格式儲存的檔案。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub SaveBinary ( _
file As Stream, _
checkRequiredFields As Boolean _
)
'用途
Dim instance As SPFile
Dim file As Stream
Dim checkRequiredFields As Boolean
instance.SaveBinary(file, checkRequiredFields)
public void SaveBinary(
Stream file,
bool checkRequiredFields
)
參數
file
Type: System.IO.StreamSystem.IO.Stream物件,包含檔案。
checkRequiredFields
Type: System.Booleantrue來檢查必要的欄位時儲存檔案。否則, false。