Partager via


_ContactItem.TaskSubject Property

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

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

Syntax

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

value = instance.TaskSubject

instance.TaskSubject = value
[DispIdAttribute()]
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

_ContactItem Interface

_ContactItem Members

Microsoft.Office.Interop.Outlook Namespace