Метод AttachmentCollection.Add
Добавление вложения, которая была представлена указанными параметрами.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Function Add ( _
parameters As AttachmentCreationInformation _
) As Attachment
'Применение
Dim instance As AttachmentCollection
Dim parameters As AttachmentCreationInformation
Dim returnValue As Attachment
returnValue = instance.Add(parameters)
public Attachment Add(
AttachmentCreationInformation parameters
)
Параметры
parameters
Тип: Microsoft.SharePoint.Client.AttachmentCreationInformationПараметры, которые представляют добавить вложение.
Возвращаемое значение
Тип: Microsoft.SharePoint.Client.Attachment
Добавить вложение.
Замечания
Не должно быть пустая ссылка (Nothing в Visual Basic).