Share via


ActivityEventsCollection.CreateAndFillFeed Method

Creates a new syndication feed and fills it with the items in this collection.

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Function CreateAndFillFeed ( _
    activityTypes As ActivityTypesCollection, _
    ct As ContentType _
) As SyndicationFeed
'Usage
Dim instance As ActivityEventsCollection
Dim activityTypes As ActivityTypesCollection
Dim ct As ContentType
Dim returnValue As SyndicationFeed

returnValue = instance.CreateAndFillFeed(activityTypes, _
    ct)
public SyndicationFeed CreateAndFillFeed(
    ActivityTypesCollection activityTypes,
    ContentType ct
)

Parameters

Return Value

Type: System.ServiceModel.Syndication.SyndicationFeed

Remarks

This method helps support the SyndicationFeed object model defined by the Syndication namespace. The Owner and Publisher properties of the ActivityEvent class, which are Entity objects, match with SyndicationPerson. The Link property matches with SyndicationLink. The ActivityEvent object matches with SyndicationItem.

See Also

Reference

ActivityEventsCollection Class

ActivityEventsCollection Members

Microsoft.Office.Server.ActivityFeed Namespace