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