Share via


ActivityPreferencesCollection.Item property

Gets an ActivityPreference object for the ActivityType 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 ActivityPreference
    Get
'Usage
Dim instance As ActivityPreferencesCollection
Dim activityTypeId As Long
Dim value As ActivityPreference

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

Parameters

  • activityTypeId
    Type: System.Int64

    The identifier of the ActivityType stored in the ActivityPreference to be returned.

Property value

Type: Microsoft.Office.Server.ActivityFeed.ActivityPreference

See also

Reference

ActivityPreferencesCollection class

ActivityPreferencesCollection members

Microsoft.Office.Server.ActivityFeed namespace