ActivityEventsCollection.CreateFeed Method
Creates a new syndication feed but does not fill it with any items.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function CreateFeed ( _
ct As ContentType _
) As SyndicationFeed
'Usage
Dim instance As ActivityEventsCollection
Dim ct As ContentType
Dim returnValue As SyndicationFeed
returnValue = instance.CreateFeed(ct)
public SyndicationFeed CreateFeed(
ContentType ct
)
Parameters
ct
Type: Microsoft.Office.Server.ActivityFeed.ContentTypeThe ContentType associated with the items in this feed.
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