List.CreateDocument - Méthode
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function CreateDocument ( _
fileName As String, _
targetFolder As Folder, _
templateType As DocumentTemplateType _
) As ListItem
'Utilisation
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
)
Paramètres
- fileName
Type : System.String
- targetFolder
Type : Microsoft.SharePoint.Client.Folder
- templateType
Type : Microsoft.SharePoint.Client.DocumentTemplateType
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ListItem