Partilhar via


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

Return Value

Type: System.ServiceModel.Syndication.SyndicationItem

Remarks

The ActivityEvent object matches with SyndicationItem.

See Also

Reference

ActivityEvent Class

ActivityEvent Members

CreateSyndicationItem Overload

Microsoft.Office.Server.ActivityFeed Namespace