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.Int64The identifier of the ActivityType stored in the ActivityPreference to be returned.
Property Value
Type: Microsoft.Office.Server.ActivityFeed.ActivityPreference
See Also
Reference
ActivityPreferencesCollection Class