Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
Service Class
Service Methods
GetAttachment Method
GetAttachment Method (String)
GetAttachment Method (AttachmentInfo)
GetAttachment Method (String, AttachmentShape)
GetAttachment Method (AttachmentInfo, AttachmentShape)

# Service GetAttachment Method (String, AttachmentShape)

Retrieve existing attachment.

Namespace: Independentsoft.Exchange
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public Attachment GetAttachment(
    	string attachmentId,
    	AttachmentShape attachmentShape
    )

    Public Function GetAttachment (
    	attachmentId As String,
    	attachmentShape As AttachmentShape
    ) As Attachment

#### Parameters

attachmentId
  Type: System
  String
  The IDs of attachments to return.
attachmentShape
  Type: Independentsoft.Exchange
  AttachmentShape
  Specify which attachment information should be returned.

#### Return Value

Type: Attachment
Attachment.
See Also

#### Reference

Service Class
GetAttachment Overload
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de