共用方式為


_MailItem Interface

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see MailItem.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<TypeLibTypeAttribute()> _
<GuidAttribute("00063034-0000-0000-C000-000000000046")> _
Public Interface _MailItem
'Usage
Dim instance As _MailItem
[TypeLibTypeAttribute()]
[GuidAttribute("00063034-0000-0000-C000-000000000046")]
public interface _MailItem

See Also

Reference

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace