다음을 통해 공유


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.String

    The name of the ActivityType 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