다음을 통해 공유


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

Return Value

Type: Microsoft.Office.Server.ActivityFeed.ActivityEvent

See Also

Reference

ActivityEventsCollection Class

ActivityEventsCollection Members

Microsoft.Office.Server.ActivityFeed Namespace