Partager via


_MailItem.Mileage Property

Returns or sets a String (string in C#) representing the mileage for an item. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property Mileage As String
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As String

value = instance.Mileage

instance.Mileage = value
[DispIdAttribute()]
string Mileage { get; set; }

Property Value

Type: System.String

Remarks

This is a free-form string field and can be used to store mileage information associated with the item (for example, 100 miles documented for an appointment, contact, or task) for purposes of reimbursement.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace