Compartir a través de


_MailItem.Importance Property

Returns or sets an OlImportance constant indicating the relative importance level for the Outlook item. Read/write.

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

Syntax

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

value = instance.Importance

instance.Importance = value
[DispIdAttribute()]
OlImportance Importance { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlImportance

Remarks

This property corresponds to the MAPI property PidTagImportance.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Flag Mail Items from a Manager for Follow-Up