Class MapiRss
Represents an item that is from a news feed.
Inherited Members
Namespace: DRIT.Mail.Mapi
Assembly: DRIT.Mail.dll
Syntax
public class MapiRss : MapiMessage
Remarks
Reference: MS-OXORSS
Constructors
View SourceMapiRss()
Initializes a new instance of the MapiRss class.
Declaration
public MapiRss()
Remarks
Reference: MS-OXORSS
Fields
View SourceMessageClassName
Stores the message class name value used by this type.
Declaration
public const string MessageClassName = "IPM.Post.RSS"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
Reference: MS-OXORSS
Properties
View SourceMessageDeliveryTime
Gets or sets the posting date, in Coordinated Universal Time (UTC), of the item or entry.
Declaration
public DateTime? MessageDeliveryTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Remarks
This property is set as follows: For an RSS item, this property is set to the value of the date element or the pubDate element. If neither of these elements is present in the RSS item, this property is set to the value of the lastBuildDate element. For an atom entry, this property is set to the value of the modified, issued, updated, or published element. If none of these elements is present under the entry element, then the modified element or the updated element that is under the feed element is used. This property can be set to the current time if none of the specified elements exist in the RSS item or the atom entry.
Reference: MS-OXORSS 2.2.1.8 PidTagMessageDeliveryTime Property
PostRssChannel
Gets or sets the title of the atom feed or the RSS feed.
Declaration
public string PostRssChannel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
For an atom feed, this property is set to the value of the title child element of the feed element. For an RSS feed, this property is set to the value of the title child element of the channel element.
Reference: MS-OXORSS 2.2.1.5 PidLidPostRssChannel Property
PostRssChannelLink
Gets or sets the URL of the RSS feed or atom feed from which the XML file came.
Declaration
public string PostRssChannelLink { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Reference: MS-OXORSS 2.2.1.1 PidLidPostRssChannelLink Property
PostRssItemGuid
Gets or sets a unique identifier for the object.
Declaration
public string PostRssItemGuid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is set as follows: For an RSS item, this property is set to the value of the GUID element or the link element. For an atom entry, this property is set to the value of the id element. If the id element is not present, this property is set to the value of the href attribute of the link element.
Reference: MS-OXORSS 2.2.1.4 PidLidPostRssItemGuid Property
PostRssItemHash
Gets or sets a hash of the XML from the RSS feed or the atom feed. The hash is computed by using an implementation-dependent algorithm and is used to quickly determine whether two items are different.
Declaration
public int? PostRssItemHash { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Reference: MS-OXORSS 2.2.1.3 PidLidPostRssItemHash Property
PostRssItemLink
Gets or sets the URL of the item or entry.
Declaration
public string PostRssItemLink { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
For an RSS item, this property is set to the value of the link child element of the item element. For an atom entry, the following applies: If the rel attribute is not present, or if it is present and set to "alternate", then this property is set to the value of the href attribute. If the rel attribute is present and set to anything besides "alternate", then the PidLidPostRssItemLink property is not set.
Reference: MS-OXORSS 2.2.1.2 PidLidPostRssItemLink Property
PostRssItemXml
Gets or sets either the contents of the item element and all of its child elements from an RSS feed or the contents of the entry element and all of its child elements from an atom feed.
Declaration
public string PostRssItemXml { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Reference: MS-OXORSS 2.2.1.6 PidLidPostRssItemXml Property
PostRssSubscription
Gets or sets the user's preferred name for the subscription.
Declaration
public string PostRssSubscription { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Reference: MS-OXORSS 2.2.1.7 PidLidPostRssSubscription Property
SenderEmailAddress
Gets or sets the value of the email child element of the author element of an atom entry. If the email element is not present, this property is set to an empty string. This property does not apply to an RSS item.
Declaration
public override string SenderEmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Remarks
Reference: MS-OXORSS 2.2.2.5 PidTagSenderEmailAddress Property
SenderName
Gets or sets the origination information about the RSS object.
Declaration
public override string SenderName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Remarks
This property is set as follows: For an RSS item, this property is set to the value of the author, publisher, or title element. For an atom entry, this property is set to the value of the name or title element. If none of the specified elements exist in the RSS item or the atom entry, this property is set to an empty string.
Reference: MS-OXORSS 2.2.2.4 PidTagSenderName Property
SentRepresentingEmailAddress
Gets or sets the contents of the email child element of the author element of an atom entry. If the email element is not present, this property is set to an empty string.
Declaration
public override string SentRepresentingEmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Remarks
This property does not apply to an RSS item.
Reference: MS-OXORSS 2.2.2.7 PidTagSentRepresentingEmailAddress Property
SentRepresentingName
Gets or sets origination information about the RSS object.
Declaration
public override string SentRepresentingName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Remarks
This property is set as follows: For an RSS item, this property is set to the value of the author, publisher, or title element. For an atom entry, this property is set either to the value of the title element or to the value of the name child element of the author element. If none of the specified elements exist in the RSS item or the atom entry, this property is set to an empty string.
Reference: MS-OXORSS 2.2.2.6 PidTagSentRepresentingName Property