Метод DefaultDocumentCollection.Add
Пространство имен: Microsoft.SharePoint.Client.DocumentSet
Сборки: Microsoft.SharePoint.Client.DocumentManagement.Silverlight (в Microsoft.SharePoint.Client.DocumentManagement.Silverlight.dll); Microsoft.SharePoint.Client.DocumentManagement.Phone (в Microsoft.SharePoint.Client.DocumentManagement.Phone.dll) Microsoft.SharePoint.Client.DocumentManagement (в Microsoft.SharePoint.Client.DocumentManagement.dll)
Синтаксис
'Декларация
Public Function Add ( _
name As String, _
ctId As ContentTypeId, _
content As Byte() _
) As DefaultDocument
'Применение
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
)
Параметры
- name
Тип: System.String
- content
Тип: []
Возвращаемое значение
Тип: Microsoft.SharePoint.Client.DocumentSet.DefaultDocument
См. также
Справочные материалы
DefaultDocumentCollection класс