Share via


List.ListToString method

Converts the list of Link objects into a string.

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

Syntax

'Declaration
Public Function ListToString ( _
    ct As ContentType, _
    ci As CultureInfo _
) As String
'Usage
Dim instance As List
Dim ct As ContentType
Dim ci As CultureInfo
Dim returnValue As String

returnValue = instance.ListToString(ct, _
    ci)
public string ListToString(
    ContentType ct,
    CultureInfo ci
)

Parameters

  • ct
    Type: Microsoft.Office.Server.ActivityFeed.ContentType

    The ContentType to be returned. If the ContentType is PlainText and the Separator property has been set, that value will be used to separate the items. Otherwise a newline (\n) will be used. If the ContentType is Html and the Separator property has been set, the list will be returned as an HTML ordered list.

Return value

Type: System.String

See also

Reference

List class

List members

Microsoft.Office.Server.ActivityFeed namespace