Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Static method that converts the Value 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 ValueToString ( _
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.ValueToString(tag, _
atv, ct, ci)
public static string ValueToString(
string tag,
ActivityTemplateVariable atv,
ContentType ct,
CultureInfo ci
)
Parameters
- tag
Type: System.String
atv
Type: Microsoft.Office.Server.ActivityFeed.ActivityTemplateVariableThe ActivityTemplateVariable whose Value 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 be HTML-encoded.
ci
Type: System.Globalization.CultureInfoThe CultureInfo for this list.
Return Value
Type: System.String
See Also
Reference
ActivityTemplateVariable Class