ActivityTemplateVariable.ListToString method
Static method that converts the List property of the specified ActivityTemplateVariable into a string.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Shared Function ListToString ( _
tag As String, _
atv As ActivityTemplateVariable, _
ct As ContentType, _
ci As CultureInfo _
) As String
'Usage
Dim tag As String
Dim atv As ActivityTemplateVariable
Dim ct As ContentType
Dim ci As CultureInfo
Dim returnValue As String
returnValue = ActivityTemplateVariable.ListToString(tag, _
atv, ct, ci)
public static string ListToString(
string tag,
ActivityTemplateVariable atv,
ContentType ct,
CultureInfo ci
)
Parameters
- tag
Type: System.String
atv
Type: Microsoft.Office.Server.ActivityFeed.ActivityTemplateVariableThe ActivityTemplateVariable whose List property is to be converted into a string.
ct
Type: Microsoft.Office.Server.ActivityFeed.ContentTypeThe ContentType that is to be returned. If the ContentType is Html, then the string will contain HTML tags.
ci
Type: System.Globalization.CultureInfoThe CultureInfo for this list.
Return value
Type: System.String
See also
Reference
ActivityTemplateVariable class