List.CreateDocument 方法
命名空間: 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 CreateDocument ( _
fileName As String, _
targetFolder As Folder, _
templateType As DocumentTemplateType _
) As ListItem
'用途
Dim instance As List
Dim fileName As String
Dim targetFolder As Folder
Dim templateType As DocumentTemplateType
Dim returnValue As ListItem
returnValue = instance.CreateDocument(fileName, _
targetFolder, templateType)
public ListItem CreateDocument(
string fileName,
Folder targetFolder,
DocumentTemplateType templateType
)
參數
- fileName
類型:System.String
- targetFolder
類型:Microsoft.SharePoint.Client.Folder
- templateType
類型:Microsoft.SharePoint.Client.DocumentTemplateType
傳回值
類型:Microsoft.SharePoint.Client.ListItem