ActivityEventsCollection.Create Method
Creates a new ActivityEvent object, adds it to the collection, and returns it.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function Create ( _
activityType As ActivityType _
) As ActivityEvent
'Usage
Dim instance As ActivityEventsCollection
Dim activityType As ActivityType
Dim returnValue As ActivityEvent
returnValue = instance.Create(activityType)
public ActivityEvent Create(
ActivityType activityType
)
Parameters
activityType
Type: Microsoft.Office.Server.ActivityFeed.ActivityTypeThe ActivityType of the event.
Return Value
Type: Microsoft.Office.Server.ActivityFeed.ActivityEvent
See Also
Reference
ActivityEventsCollection Class