Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
parameters
Type: Microsoft.SharePoint.Client.AttachmentCreationInformationThe parameters that represent the attachment to be added.
Return value
Type: Microsoft.SharePoint.Client.Attachment
The attachment to be added.
Remarks
It must not be a null reference (Nothing in Visual Basic).