Share via


_TaskItem.Role Property

Returns or sets a String (string in C#) containing the free-form text string associating the owner of a task with a role for the task. Read/write.

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

Syntax

'Declaration
Property Role As String
    Get
    Set
'Usage
Dim instance As _TaskItem
Dim value As String

value = instance.Role

instance.Role = value
string Role { get; set; }

Property Value

Type: System.String

See Also

Reference

_TaskItem Interface

_TaskItem Members

Microsoft.Office.Interop.Outlook Namespace