Message Members | MSG .NET Class Library |
The Message type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
Message |
Initializes a new instance of the Message class.
| |
Message(Stream) |
Initializes a new instance of the Message class based on the supplied stream.
| |
Message(String) |
Initializes a new instance of the Message class based on the supplied file.
| |
Message(Message) |
Initializes a new instance of the Message class from the specified MIME message.
|
Methods
Name | Description | |
---|---|---|
ConvertToMimeMessage |
Converts to MIME message.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetBytes |
Gets bytes to read from this message.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetStream |
Gets stream to read from this message.
| |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Open(Stream) |
Loads message from the specified stream.
| |
Open(String) |
Loads message from the specified file.
| |
Save(Stream) |
Saves this message to the specified stream.
| |
Save(String) |
Saves this message to the specified file.
| |
Save(String, Boolean) |
Saves this message to the specified file.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
ActualWork |
Contains the actual effort (in minutes) spent on the task.
| |
AppointmentEndTime |
Contains appointment's the end date and time.
| |
AppointmentMessageClass |
Contains appointment's message class.
| |
AppointmentStartTime |
Contains appointment's the start date and time.
| |
AssistentName |
Contains the name of assistent of the contact.
| |
AssistentPhone |
Contains assistent's phone number of the contact.
| |
Attachments |
Contains collection of attachments.
| |
BillingInformation |
Contains the billing information associated with a message.
| |
Birthday |
Contains the birthday date for the contact.
| |
Body |
Contains the message text.
| |
BodyHtml |
Contains the Hypertext Markup Language (HTML) version of the message text.
| |
BodyHtmlText |
Contains the Hypertext Markup Language (HTML) version of the message text.
| |
BodyRtf |
Contains the Rich Text Format (RTF) version of the message text.
| |
BusinessAddress |
Contains the whole, unparsed business address for the contact.
| |
BusinessAddressCity |
Contains the city name portion of the business address for the contact.
| |
BusinessAddressCountry |
Contains the country/region code portion of the business address for the contact.
| |
BusinessAddressPostalCode |
Contains the postal code (zip code) portion of the business address for the contact.
| |
BusinessAddressPostOfficeBox |
Contains the post office box number portion of the business address for the contact.
| |
BusinessAddressState |
Contains the state code portion of the business address for the contact.
| |
BusinessAddressStreet |
Contains the street address portion of the business address for the contact.
| |
BusinessFax |
Contains the business fax number for the contact.
| |
BusinessHomePage |
Contains the url of the business Web page for the contact.
| |
BusinessPhone |
Contains the first business telephone number for the contact.
| |
BusinessPhone2 |
Contains the second business telephone number for the contact.
| |
BusyStatus |
Contains appointment's busy status.
| |
CallbackPhone |
Contains the callback telephone number for the contact.
| |
CarPhone |
Contains the car telephone number for the contact.
| |
Categories |
Contains the categories associated with a message.
| |
CellularPhone |
Contains the mobile telephone number for the contact.
| |
ChangeKey |
Contains a change key of a message.
| |
ChildrenNames |
Contains the names of the children of the contact.
| |
ClientSubmitTime |
Contains the date and time the message sender submitted a message.
| |
CommonEndTime |
Contains the end date and time of a message.
| |
CommonStartTime |
Contains the start date and time of a message.
| |
Companies |
Contains the names of the companies associated with the contact item.
| |
CompanyMainPhone |
Contains the company main telephone number for the contact.
| |
CompanyName |
Contains the company name for the contact.
| |
ComputerNetworkName |
Contains the name of the computer network for the contact.
| |
ContactHasPicture |
Contains true if the contact has picture.
| |
ContactNames |
Contains the names of the contacts associated with the item.
| |
ConversationIndex |
Contains a binary value that indicates the relative position of this message within a conversation thread.
| |
ConversationTopic |
Contains the topic of the first message in a conversation thread.
| |
CreationTime |
Contains the creation date and time of the message.
| |
CreatorName |
Contains name of the person who created message.
| |
CustomerId |
Contains the customer ID for the contact.
| |
DateCompleted |
Contains the completion date of the task.
| |
Delegator |
Contains task's delegator name.
| |
DeliveryReportRequested |
Gets or sets a value indicating whether [delivery report requested].
| |
DepartmentName |
Contains the department name for the contact.
| |
DisableFullFidelity |
Gets or sets a value indicating whether [disable full fidelity].
| |
DisplayBcc |
Contains an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).
| |
DisplayCc |
Contains an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).
| |
DisplayName |
Contains display name.
| |
DisplayNamePrefix |
Contains display name prefix.
| |
DisplayTo |
Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
| |
Duration |
Contains appointment's duration in minutes.
| |
Email1Address |
Contains the e-mail address of the first e-mail entry for the contact.
| |
Email1DisplayAs |
Contains the display as name of the first e-mail address for the contact.
| |
Email1DisplayName |
Contains the display name of the first e-mail address for the contact.
| |
Email1EntryId |
Contains the entry ID of the first e-mail address for the contact.
| |
Email1Type |
Contains the type of the first e-mail address for the contact.
| |
Email2Address |
Contains the e-mail address of the second e-mail entry for the contact.
| |
Email2DisplayAs |
Contains the display as name of the second e-mail address for the contact.
| |
Email2DisplayName |
Contains the display name of the second e-mail address for the contact.
| |
Email2EntryId |
Contains the entry ID of the second e-mail address for the contact.
| |
Email2Type |
Contains the type of the second e-mail address for the contact.
| |
Email3Address |
Contains the e-mail address of the third e-mail entry for the contact.
| |
Email3DisplayAs |
Contains the display as name of the third e-mail address for the contact.
| |
Email3DisplayName |
Contains the display name of the third e-mail address for the contact.
| |
Email3EntryId |
Contains the entry ID of the third e-mail address for the contact.
| |
Email3Type |
Contains the type of the third e-mail address for the contact.
| |
Encoding |
Gets or sets message encoding. Default is UTF8 encoding.
| |
EntryId |
Contains a MAPI entry identifier used to open and edit properties of a particular MAPI object.
| |
ExtendedProperties |
Contains collection of extended (custom) properties.
| |
FileAs |
Contains the default keyword string assigned to the contact when it is filed.
| |
FlagDueBy |
Contains the date and time specifying the date by which an e-mail message is due.
| |
FlagIcon |
Specifies the flag icon of the message object.
| |
FlagStatus |
Specifies the flag state of the message object.
| |
FtpSite |
Contains the FTP site entry for the contact.
| |
Gender |
Contains the gender of the contact.
| |
Generation |
Contains the generation for the contact.
| |
GivenName |
Contains the given name for the contact.
| |
GovernmentId |
Contains the government ID number for the contact.
| |
Guid |
Contains message's global unique id.
| |
HasAttachment |
Contains true if a message contains at least one attachment.
| |
Hobbies |
Contains the hobby names for the contact.
| |
HomeAddress |
Contains the whole, unparsed home address for the contact.
| |
HomeAddressCity |
Contains the city portion of the home address for the contact.
| |
HomeAddressCountry |
Contains the country/region portion of the home address for the contact.
| |
HomeAddressPostalCode |
Contains the postal code portion of the home address for the contact.
| |
HomeAddressPostOfficeBox |
Contains the post office box number portion of the home address for the contact.
| |
HomeAddressState |
Contains the state portion of the home address for the contact.
| |
HomeAddressStreet |
Contains the street portion of the home address for the contact.
| |
HomeFax |
Contains the home fax number for the contact.
| |
HomePhone |
Contains the first home telephone number for the contact.
| |
HomePhone2 |
Contains the second home telephone number for the contact.
| |
IconIndex |
Contains a number that indicates which icon to use when you display a group of e-mail objects.
| |
Importance |
Contains a value that indicates the message sender's opinion of the importance of a message.
| |
Initials |
Contains the initials for the contact.
| |
InReplyTo |
Contains the identifier of the message to which this message is a reply.
| |
InstantMessengerAddress |
Contains the instant messenger address for the contact.
| |
InternetAccountName |
Contains account name or email address.
| |
InternetCodePage | ||
InternetFreeBusyAddress |
Contains the url location of the user's free-busy information in vCard Free-Busy standard format.
| |
InternetMessageId |
Contains unique ID for the message.
| |
InternetReferences |
Contains Internet reference ID for the message.
| |
IsAllDayEvent |
Contains true if the appointment is all day event.
| |
IsComplete |
Contains true if the task is complete.
| |
Isdn |
Contains the ISDN number for the contact.
| |
IsEmbedded |
Contains true if Message is embedded into another message object.
| |
IsHidden |
Contains true if message is invisible.
| |
IsPrivate |
Contains true if message is marked as private.
| |
IsReadOnly |
Contains true if message is read only.
| |
IsRecurring |
Contains true if the task or appointment is recurring.
| |
IsReminderSet |
Contains true if a reminder has been set for this appointment, e-mail item, or task.
| |
IsSystem |
Contains true if message is system message.
| |
IsTeamTask |
Contains true if the task is a team task.
| |
JournalDuration |
Contains journal's the duration in minutes.
| |
JournalEndTime |
Contains journal's the end date and time.
| |
JournalStartTime |
Contains journal's the start date and time.
| |
JournalType |
Contains the type of the journal item.
| |
JournalTypeDescription |
Contains the type description of the journal item.
| |
Keywords |
Contains the categories associated with a message.
| |
Label |
Contains appointment's label color.
| |
LastModificationTime |
Contains the date and time when the message was last modified.
| |
LastModifierName |
Contains name of the person who modified message.
| |
LastVerbExecuted |
Contains the last verb executed.
| |
LastVerbExecutionTime |
Contains the time when the last verb was executed.
| |
Location |
Contains appointment's location.
| |
ManagerName |
Contains the manager name for the contact.
| |
MeetingStatus |
Contains the status of the meeting.
| |
MessageClass |
Contains a text string that identifies the sender-defined message class, such as IPM.Note.
| |
MessageCodePage |
Contains the code page that is used for the message.
| |
MessageDeliveryTime |
Contains the date and time when a message was delivered.
| |
MessageFlags |
Contains a bitmask of flags that indicate the origin and current state of a message.
| |
MiddleName |
Contains the middle name for the contact.
| |
Mileage |
Contains free-form string value and can be used to store mileage information associated with the message.
| |
Nickname |
Contains the nickname for the contact.
| |
NormalizedSubject |
Contains the message subject with any prefix removed.
| |
NoteColor |
Contains background color of the note item.
| |
NoteHeight |
Contains height of the note item.
| |
NoteLeft |
Contains left position of the note item.
| |
NoteTop |
Contains top position of the note item.
| |
NoteWidth |
Contains width of the note item.
| |
ObjectType |
Contains the type of an object.
| |
OfficeLocation |
Contains the specific office location for the contact.
| |
OriginalDisplayTo |
Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
| |
OtherAddress |
Contains the whole, unparsed other address for the contact.
| |
OtherAddressCity |
Contains the city portion of the other address for the contact.
| |
OtherAddressCountry |
Contains the country/region portion of the other address for the contact.
| |
OtherAddressPostalCode |
Contains the postal code portion of the other address for the contact.
| |
OtherAddressState |
Contains the state portion of the other address for the contact.
| |
OtherAddressStreet |
Contains the street portion of the other address for the contact.
| |
OtherPhone |
Contains the other telephone number for the contact.
| |
OutlookInternalVersion |
Contains internal version number of Microsoft Office Outlook client.
| |
OutlookVersion |
Contains version number of Microsoft Office Outlook client.
| |
Owner |
Contains task's owner name.
| |
Pager |
Contains the pager number for the contact.
| |
PercentComplete |
Contains the percentage of the task completed at the current date and time.
| |
PersonalHomePage |
Contains the url of the personal Web page for the contact.
| |
PostalAddress |
Contains the postal address for the contact.
| |
PrimaryFax |
Contains the primary fax number for the contact.
| |
PrimaryPhone |
Contains the primary telephone number for the contact.
| |
Priority |
Contains the relative priority of a message.
| |
Profession |
Contains the profession for the contact.
| |
ProviderSubmitTime |
Contains the date and time the mail provider submitted a message.
| |
RadioPhone |
Contains the radio telephone number for the contact.
| |
ReadReceiptEntryId |
Gets or sets the read receipt entry identifier.
| |
ReadReceiptRequested |
Gets or sets a value indicating whether [read receipt requested].
| |
ReadReceiptSearchKey |
Gets or sets the read receipt search key.
| |
ReceivedByAddressType |
Contains the e-mail address type, such as SMTP, for the messaging user who actually receives the message.
| |
ReceivedByEmailAddress |
Contains the e-mail address for the messaging user who receives the message.
| |
ReceivedByEntryId |
Contains the entry identifier of the messaging user who actually receives the message.
| |
ReceivedByName |
Contains the display name of the messaging user who receives the message.
| |
ReceivedBySearchKey |
Contains the search key of the messaging user who receives the message.
| |
ReceivedRepresentingAddressType |
Contains the address type for the messaging user who is represented by the user actually receiving the message.
| |
ReceivedRepresentingEmailAddress |
Contains the e-mail address for the messaging user who is represented by the receiving user.
| |
ReceivedRepresentingEntryId |
Contains the entry identifier for the messaging user who is represented by the receiving user.
| |
ReceivedRepresentingName |
Contains the display name for the messaging user who is represented by the receiving user.
| |
ReceivedRepresentingSearchKey |
Contains the search key for the messaging user represented by the receiving user.
| |
Recipients |
Contains collection of recipients.
| |
RecurrencePattern |
Contains appoinmtment or task recurring pattern.
| |
RecurrencePatternDescription |
Contains recurring pattern description.
| |
RecurrenceType |
Contains the recurrence pattern type.
| |
ReminderMinutesBeforeStart |
Contains the number of minutes the reminder should occur prior to the start of the appointment.
| |
ReminderOverrideDefault |
Contains true if the reminder overrides the default reminder behavior for the appointment, mail item, or task.
| |
ReminderPlaySound |
Contains true if the reminder should play a sound when it occurs for this appointment or task.
| |
ReminderSoundFile |
Contains the path and file name of the sound file to play when the reminder occurs for the appointment, mail message, or task.
| |
ReminderTime |
Contains the date and time at which the reminder should occur for the specified item.
| |
ReplyTo |
Contains reply to email address.
| |
ReportText |
Contains report text.
| |
ReportTime |
Contains the report date and time.
| |
ResponseStatus |
Contains the response to a meeting request.
| |
RtfCompressed |
Contains the Rich Text Format (RTF) version of the message text, usually in compressed form.
| |
RtfInSync |
Contains true if the RtfCompressed property has the same text content as the Body property for this message.
| |
SearchKey |
Contains a binary-comparable key that identifies correlated objects for a search.
| |
SelectedMailingAddress |
Contains the type of the mailing address for the contact.
| |
SenderAddressType |
Contains the message sender's e-mail address type.
| |
SenderEmailAddress |
Contains the message sender's e-mail address.
| |
SenderEntryId |
Contains the message sender's entry identifier.
| |
SenderName |
Contains the message sender's display name.
| |
SenderSearchKey |
Contains the message sender's search key.
| |
Sensitivity |
Contains a value that indicates the message sender's opinion of the sensitivity of a message.
| |
SentRepresentingAddressType |
Contains the address type for the messaging user who is represented by the sender.
| |
SentRepresentingEmailAddress |
Contains the e-mail address for the messaging user who is represented by the sender.
| |
SentRepresentingEntryId |
Contains the entry identifier for the messaging user represented by the sender.
| |
SentRepresentingName |
Contains the display name for the messaging user represented by the sender.
| |
SentRepresentingSearchKey |
Contains the search key for the messaging user represented by the sender.
| |
Size |
Contains the size of the body, subject, sender, and attachments.
| |
SpouseName |
Contains the spouse name for the contact.
| |
StoreSupportMasks |
Contains values that client applications should query to determine the characteristics of a message store.
| |
Subject |
Contains the full subject of a message.
| |
SubjectPrefix |
Contains a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.
| |
Surname |
Contains the last name for the contact.
| |
TaskDelegationState |
Contains the delegation state of a task.
| |
TaskDueDate |
Contains task's the due date and time.
| |
TaskOwnership |
Contains the ownership state of the task.
| |
TaskStartDate |
Contains task's the start date and time.
| |
TaskStatus |
Contains the status of the task.
| |
Telex |
Contains the telex number for the contact.
| |
TimeZone |
Contains appointment's time zone.
| |
Title |
Contains the title for the contact.
| |
TotalWork |
Contains the total work for the task.
| |
TransportMessageHeaders |
Contains transport-specific message envelope information.
| |
TtyTddPhone |
Contains the TTY/TDD telephone number for the contact.
| |
WeddingAnniversary |
Contains the wedding anniversary date for the contact.
|
See Also