DefaultDocumentCollection.Add método
Namespace: Microsoft.SharePoint.Client.DocumentSet
Assemblies: Microsoft.SharePoint.Client.DocumentManagement.Silverlight (em Microsoft.SharePoint.Client.DocumentManagement.Silverlight.dll); Microsoft.SharePoint.Client.DocumentManagement.Phone (em Microsoft.SharePoint.Client.DocumentManagement.Phone.dll) Microsoft.SharePoint.Client.DocumentManagement (em Microsoft.SharePoint.Client.DocumentManagement.dll)
Sintaxe
'Declaração
Public Function Add ( _
name As String, _
ctId As ContentTypeId, _
content As Byte() _
) As DefaultDocument
'Uso
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
)
Parâmetros
- name
Tipo: System.String
- ctId
Tipo: Microsoft.SharePoint.Client.ContentTypeId
- content
Tipo: []
Valor retornado
Tipo: Microsoft.SharePoint.Client.DocumentSet.DefaultDocument
Ver também
Referência
DefaultDocumentCollection classe