Share via


_PostItem.TaskSubject Property

Returns or sets a String (string in C#) value that represents the subject of the task for the PostItem 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 _PostItem
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

_PostItem Interface

_PostItem Members

Microsoft.Office.Interop.Outlook Namespace