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 Link2 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 Link2ToString ( _
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.Link2ToString(tag, _
atv, ct, ci)
public static string Link2ToString(
string tag,
ActivityTemplateVariable atv,
ContentType ct,
CultureInfo ci
)
Parameters
- tag
Type: System.String
atv
Type: Microsoft.Office.Server.ActivityFeed.ActivityTemplateVariableThe ActivityTemplateVariable whose Link2 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 an <HREF> tag.
ci
Type: System.Globalization.CultureInfoThe CultureInfo for this link.
Return Value
Type: System.String
See Also
Reference
ActivityTemplateVariable Class