AttachmentCollection.Add method

Adds the attachment that is represented by the specified parameters.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function Add ( _
    parameters As AttachmentCreationInformation _
) As Attachment
'Usage
Dim instance As AttachmentCollection
Dim parameters As AttachmentCreationInformation
Dim returnValue As Attachment

returnValue = instance.Add(parameters)
public Attachment Add(
    AttachmentCreationInformation parameters
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.Attachment
The attachment to be added.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See also

Reference

AttachmentCollection class

AttachmentCollection members

Microsoft.SharePoint.Client namespace