Link.LinkToString Method
Returns the Href, Name and Value properties of this object as a string.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function LinkToString ( _
ct As ContentType, _
ci As CultureInfo _
) As String
'Usage
Dim instance As Link
Dim ct As ContentType
Dim ci As CultureInfo
Dim returnValue As String
returnValue = instance.LinkToString(ct, _
ci)
public string LinkToString(
ContentType ct,
CultureInfo ci
)
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 an Href tag.
ci
Type: System.Globalization.CultureInfoThe CultureInfo of the string to be returned.
Return Value
Type: System.String