Partager via


_TaskItem.Owner Property

Returns or sets a String (string in C#) indicating the owner for the task.

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

Syntax

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

value = instance.Owner

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

Property Value

Type: System.String

Remarks

This is a free-form string field. Setting this property to someone other than the current user does not have the effect of delegating the task. Read/write if the task is stored on the Exchange Server public folder. Read-only if it's stored in a user's mailbox or personal folders file.

See Also

Reference

_TaskItem Interface

_TaskItem Members

Microsoft.Office.Interop.Outlook Namespace