_StorageItem.Subject Property

Definition

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

public:
 property System::String ^ Subject { System::String ^ get(); void set(System::String ^ value); };
public string Subject { get; set; }
Public Property Subject As String

Property Value

Remarks

This property corresponds to the MAPI property, PidTagSubject. 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.

Applies to