DefaultDocumentCollection.Add - Méthode
Espace de noms : Microsoft.SharePoint.Client.DocumentSet
Assemblys : Microsoft.SharePoint.Client.DocumentManagement.Silverlight (dans Microsoft.SharePoint.Client.DocumentManagement.Silverlight.dll); Microsoft.SharePoint.Client.DocumentManagement.Phone (dans Microsoft.SharePoint.Client.DocumentManagement.Phone.dll) Microsoft.SharePoint.Client.DocumentManagement (dans Microsoft.SharePoint.Client.DocumentManagement.dll)
Syntaxe
'Déclaration
Public Function Add ( _
name As String, _
ctId As ContentTypeId, _
content As Byte() _
) As DefaultDocument
'Utilisation
Dim instance As DefaultDocumentCollection
Dim name As String
Dim ctId As ContentTypeId
Dim content As Byte()
Dim returnValue As DefaultDocument
returnValue = instance.Add(name, ctId, _
content)
public DefaultDocument Add(
string name,
ContentTypeId ctId,
byte[] content
)
Paramètres
- name
Type : System.String
- ctId
Type : Microsoft.SharePoint.Client.ContentTypeId
- content
Type : []
Valeur renvoyée
Type : Microsoft.SharePoint.Client.DocumentSet.DefaultDocument
Voir aussi
Référence
DefaultDocumentCollection classe