Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
FileAttachment Class
FileAttachment Constructor
FileAttachment Properties
FileAttachment Methods

# FileAttachment Class

Represents a file that is attached to an item in the Exchange store.
Inheritance Hierarchy
System
Object
Independentsoft.Exchange
Attachment
Independentsoft.Exchange
FileAttachment

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

    public class FileAttachment : Attachment

    Public Class FileAttachment
    	Inherits Attachment

The FileAttachment type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| FileAttachment | Initializes a new instance of the FileAttachment class.
| FileAttachment( Byte ) | Initializes a new instance of the FileAttachment class.
| FileAttachment(Stream) | Initializes a new instance of the FileAttachment class.
| FileAttachment(String) | Initializes a new instance of the FileAttachment class.
| FileAttachment( Byte , String) | Initializes a new instance of the FileAttachment class.
| FileAttachment(Stream, String) | Initializes a new instance of the FileAttachment class.
| FileAttachment(String, String) | Initializes a new instance of the FileAttachment class.
| FileAttachment( Byte , String, String) | Initializes a new instance of the FileAttachment class.
| FileAttachment(Stream, String, String) | Initializes a new instance of the FileAttachment class.
| FileAttachment(String, String, String) | Initializes a new instance of the FileAttachment class.

Top
Properties

| Name | Description
--- | --- | ---
| AttachmentId | Identifies the attachment. (Inherited from Attachment.)
| Content | Contains the Base64-encoded contents of the file attachment.
| ContentId | Represents an identifier for the contents of an attachment. (Inherited from Attachment.)
| ContentLocation | Contains the Uniform Resource Identifier (URI) that corresponds to the location of the content of the attachment. (Inherited from Attachment.)
| ContentType | Describes the Multipurpose Internet Mail Extensions (MIME) type of the attachment content. (Inherited from Attachment.)
| IsContactPhoto | Indicates whether the file attachment is a contact picture.
| IsInline | Represents whether the attachment appears inline within an item. (Inherited from Attachment.)
| LastModifiedTime | Represents when the file attachment was last modified. (Inherited from Attachment.)
| Name | Represents the name of the attachment. (Inherited from Attachment.)
| Size | Represents the size in bytes of the file attachment. (Inherited from Attachment.)

Top
Methods

| Name | Description
--- | --- | ---
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetHashCode | (Inherited from Object.)
| GetStream | Gets the stream.
| GetType | (Inherited from Object.)
| MemberwiseClone | (Inherited from Object.)
| Save(Stream) | Saves the specified stream.
| Save(String) | Saves the specified file path.
| Save(String, Boolean) | Saves the specified file path.
| ToString | Converts the value of the current FileAttachment object to its equivalent string representation. (Overrides Object ToString .)
| ToXml | (Overrides Attachment ToXml .)

Top
See Also

#### Reference

Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de