DefaultDocumentCollection.Add method
Namespace: Microsoft.SharePoint.Client.DocumentSet
Assembly: Microsoft.SharePoint.Client.DocumentManagement (in Microsoft.SharePoint.Client.DocumentManagement.dll)
Syntax
'Declaration
Public Function Add ( _
name As String, _
ctId As ContentTypeId, _
content As Byte() _
) As DefaultDocument
'Usage
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
)
Parameters
- name
Type: System.String
- ctId
Type: Microsoft.SharePoint.Client.ContentTypeId
- content
Type: []
Return value
Type: Microsoft.SharePoint.Client.DocumentSet.DefaultDocument
See also
Reference
DefaultDocumentCollection class