Share via


_MailItem.InternetCodepage Property

Returns or sets an Integer (int in C#) value that determines the Internet code page used by the item. Read/write.

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

Syntax

'Declaration
Property InternetCodepage As Integer
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As Integer

value = instance.InternetCodepage

instance.InternetCodepage = value
int InternetCodepage { get; set; }

Property Value

Type: System.Int32

Remarks

The Internet code page defines the text encoding scheme used by the item.

The following table lists the values that are supported by the InternetCodePage property.

The following table lists the code pages Microsoft recommends that you use for the best compatiblity with older e-mail systems.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace