Share via


_DistListItem.TaskSubject Property

Returns or sets a String (string in C#) value that represents the subject of the task for the DistListItem object. Read/write.

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

Syntax

'Declaration
Property TaskSubject As String
    Get
    Set
'Usage
Dim instance As _DistListItem
Dim value As String

value = instance.TaskSubject

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

Property Value

Type: System.String

Remarks

This property returns the value of the Subject property if the IsMarkedAsTask property is set to False.

See Also

Reference

_DistListItem Interface

_DistListItem Members

Microsoft.Office.Interop.Outlook Namespace