Edit

Share via


FileAttachment.Load Method

Definition

Overloads

Load(Stream)

Loads the content of the file attachment into the specified stream. Calling this method results in a call to Exchange Web Services (EWS).

Load(String)

Loads the content of the file attachment into the specified file. Calling this method results in a call to Exchange Web Services (EWS).

Load(Stream)

Loads the content of the file attachment into the specified stream. Calling this method results in a call to Exchange Web Services (EWS).

public:
 void Load(System::IO::Stream ^ stream);
public void Load (System.IO.Stream stream);

Parameters

stream
Stream

The stream to load the content of the attachment into.

Applies to

Load(String)

Loads the content of the file attachment into the specified file. Calling this method results in a call to Exchange Web Services (EWS).

public:
 void Load(System::String ^ fileName);
public void Load (string fileName);
Public Sub Load (fileName As String)

Parameters

fileName
String

The name of the file to load the content of the attachment into. If the file already exists, it is overwritten.

Applies to