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
)

参数

返回值

类型:Microsoft.SharePoint.Client.ListItem

另请参阅

引用

List 类

List 成员

Microsoft.SharePoint.Client 命名空间