ActivityEvent.CreateSyndicationItem Method (ActivityType, ActivityTemplate, ContentType)
Creates a new syndication item and fills in its main properties.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function CreateSyndicationItem ( _
myActivityType As ActivityType, _
myActivityTemplate As ActivityTemplate, _
ct As ContentType _
) As SyndicationItem
'Usage
Dim instance As ActivityEvent
Dim myActivityType As ActivityType
Dim myActivityTemplate As ActivityTemplate
Dim ct As ContentType
Dim returnValue As SyndicationItem
returnValue = instance.CreateSyndicationItem(myActivityType, _
myActivityTemplate, ct)
public SyndicationItem CreateSyndicationItem(
ActivityType myActivityType,
ActivityTemplate myActivityTemplate,
ContentType ct
)
Parameters
myActivityType
Type: Microsoft.Office.Server.ActivityFeed.ActivityTypeThe ActivityType associated with this feed item.
myActivityTemplate
Type: Microsoft.Office.Server.ActivityFeed.ActivityTemplateThe ActivityTemplate that defines display formatting for events in the feed item.
ct
Type: Microsoft.Office.Server.ActivityFeed.ContentTypeThe ContentType associated with this feed item.
Return Value
Type: System.ServiceModel.Syndication.SyndicationItem
Remarks
The ActivityEvent object matches with SyndicationItem.