_StorageItem.Subject Property
Returns or sets a String (string in C#) indicating the subject for the Outlook item. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Property Subject As String
Get
Set
'Usage
Dim instance As _StorageItem
Dim value As String
value = instance.Subject
instance.Subject = value
string Subject { get; set; }
Property Value
Type: System.String
Remarks
This property corresponds to the MAPI property, PR_SUBJECT. The Subject property is the default property for Outlook items.
The Subject serves as a unique identifier for StorageItem objects. You should set the subject in a way to ensure that the objects are unique and would not be overwritten by other solution writers. The recommended practice is to use a ProgID plus other unique text to identify the StorageItem.