Link.ItemToString Method (ContentType, CultureInfo, Int32)
Returns the Name and Value or Name and Href properties of this Link object as a string.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function ItemToString ( _
ct As ContentType, _
ci As CultureInfo, _
index As Integer _
) As StringBuilder
'Usage
Dim instance As Link
Dim ct As ContentType
Dim ci As CultureInfo
Dim index As Integer
Dim returnValue As StringBuilder
returnValue = instance.ItemToString(ct, _
ci, index)
public StringBuilder ItemToString(
ContentType ct,
CultureInfo ci,
int index
)
Parameters
ct
Type: Microsoft.Office.Server.ActivityFeed.ContentTypeThe ContentType of the string to be returned. If the ContentType is Html, then the string will be returned as an Href tag.
ci
Type: System.Globalization.CultureInfoThe CultureInfo of the string to be returned.
- index
Type: System.Int32
Return Value
Type: System.Text.StringBuilder