Partilhar via


ActivityTypesCollection.Item Property (Int64)

Returns the ActivityType object from the collection with the specified identifier.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    activityTypeId As Long _
) As ActivityType
    Get
'Usage
Dim instance As ActivityTypesCollection
Dim activityTypeId As Long
Dim value As ActivityType

value = instance(activityTypeId)
public ActivityType this[
    long activityTypeId
] { get; }

Parameters

  • activityTypeId
    Type: System.Int64

    The identifier of the ActivityType object to be returned.

Property Value

Type: Microsoft.Office.Server.ActivityFeed.ActivityType

See Also

Reference

ActivityTypesCollection Class

ActivityTypesCollection Members

Item Overload

Microsoft.Office.Server.ActivityFeed Namespace