ActivityEvent.CreateSyndicationItem Method (ActivityTypesCollection, ContentType)
Creates a new feed 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 ( _
activityTypes As ActivityTypesCollection, _
ct As ContentType _
) As SyndicationItem
'Usage
Dim instance As ActivityEvent
Dim activityTypes As ActivityTypesCollection
Dim ct As ContentType
Dim returnValue As SyndicationItem
returnValue = instance.CreateSyndicationItem(activityTypes, _
ct)
public SyndicationItem CreateSyndicationItem(
ActivityTypesCollection activityTypes,
ContentType ct
)
Parameters
activityTypes
Type: Microsoft.Office.Server.ActivityFeed.ActivityTypesCollectionA collection of ActivityType objects associated with this 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.