ActivityTypesCollection.Item Property (String)
Returns the ActivityType object from the collection with the specified name.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
activityTypeName As String _
) As ActivityType
Get
'Usage
Dim instance As ActivityTypesCollection
Dim activityTypeName As String
Dim value As ActivityType
value = instance(activityTypeName)
public ActivityType this[
string activityTypeName
] { get; }
Parameters
activityTypeName
Type: System.StringThe name of the ActivityType to be returned.
Property Value
Type: Microsoft.Office.Server.ActivityFeed.ActivityType