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.ContentTypeThe 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
Type: System.Globalization.CultureInfoThe CultureInfo for the string to be returned.
Return Value
Type: System.String