List.ListToString(ContentType, CultureInfo) List.ListToString(ContentType, CultureInfo) List.ListToString(ContentType, CultureInfo) Method

Definition

Converts the list of Link objects into a string.

public:
 System::String ^ ListToString(Microsoft::Office::Server::ActivityFeed::ContentType ct, System::Globalization::CultureInfo ^ ci);
public string ListToString (Microsoft.Office.Server.ActivityFeed.ContentType ct, System.Globalization.CultureInfo ci);
Public Function ListToString (ct As ContentType, ci As CultureInfo) As String
Parameters
ct
ContentType ContentType 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.

ci
CultureInfo CultureInfo CultureInfo

The CultureInfo for the string to be returned.

Returns

Applies to