FileAttachment.Load Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.