Partager via


_NoteItem.Subject Property

Returns or sets a String (string in C#) indicating the subject for the Outlook item. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property Subject As String
    Get
'Usage
Dim instance As _NoteItem
Dim value As String

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

Property Value

Type: System.String

Remarks

The Subject property is a String (string in C#) that is calculated from the body text of the note.

This property corresponds to the MAPI property PidTagSubject. The Subject property is the default property for Outlook items.

See Also

Reference

_NoteItem Interface

_NoteItem Members

Microsoft.Office.Interop.Outlook Namespace