MapiFileDesc Class
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.
The MapiFileDesc class gets and sets the files that are attached to messages.
public ref class MapiFileDesc : Microsoft::Dynamics::Ax::Xpp::XppObjectBase
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
public class MapiFileDesc : Microsoft.Dynamics.Ax.Xpp.XppObjectBase
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
type MapiFileDesc = class
inherit XppObjectBase
Public Class MapiFileDesc
Inherits XppObjectBase
- Inheritance
- Attributes
Remarks
The file description consists of two types of information for the file:
- A path method, which points to a file on disk
- A fileName method, which contains the file name as it will be presented to the user.
The following example demonstrates the MapiFileDesc class.
static void example()
{
MapiMessage msg = New MapiMessage();
MapiFileDesc attach = new MapiFileDesc();
attach.Path("C:\\files\\myfile.txt");
}
Constructors
MapiFileDesc() | |
MapiFileDesc(IntPtr) |
Fields
__k_MapiFileDescId | |
kernelClass | (Inherited from XppObjectBase) |