共用方式為


List.CreateDocumentFromTemplateBytes 方法

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Function CreateDocumentFromTemplateBytes ( _
    fileName As String, _
    targetFolder As Folder, _
    templateBytes As Byte(), _
    extension As String _
) As ListItem
'用途
Dim instance As List
Dim fileName As String
Dim targetFolder As Folder
Dim templateBytes As Byte()
Dim extension As String
Dim returnValue As ListItem

returnValue = instance.CreateDocumentFromTemplateBytes(fileName, _
    targetFolder, templateBytes, extension)
public ListItem CreateDocumentFromTemplateBytes(
    string fileName,
    Folder targetFolder,
    byte[] templateBytes,
    string extension
)

參數

  • templateBytes
    類型:[]

傳回值

類型:Microsoft.SharePoint.Client.ListItem

請參閱

參照

List 類別

List 成員

Microsoft.SharePoint.Client 命名空間