Partager via


Action.Prefix Property

Returns or sets a String (string in C#) specifying the prefix (for example, "Re") to use with the subject of the item when the action is executed. Read/write.

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

Syntax

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

value = instance.Prefix

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

Property Value

Type: System.String

Remarks

Outlook automatically adds a colon (:) to the value of the Prefix property when setting the subject of the item.

See Also

Reference

Action Interface

Action Members

Microsoft.Office.Interop.Outlook Namespace