MAPIOBJECT Property (Attachment Object)

The MAPIOBJECT property returns an IUnknown pointer to the Attachment object. Not available to Microsoft® Visual Basic® applications. Read/write.

Syntax

objAttachment.MAPIOBJECT

Data Type

Variant (vbDataObject format)

Remarks

The MAPIOBJECT property is not available to Visual Basic programs. It is accessible only by C/C++ programs that deal with IUnknown objects. Visual Basic supports the IDispatch interface and not IUnknown. The MAPIOBJECT property is an IUnknown object that returns an IAttach interface in response to QueryInterface. For more information, see Introduction to Automation and How Programmable Objects Work. Also see the "COM and ActiveX Object Services" section of the Microsoft Platform SDK.

If your application uses any MAPIOBJECT or RawTable properties, it must Release them all before calling the Session object's Logoff method.

The MAPIOBJECT property does not correspond to a MAPI property and cannot be rendered into HTML hypertext by the CDO Rendering Library.