Entity.EntityToString Method
Returns the name of the entity as a string.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function EntityToString ( _
ct As ContentType, _
ci As CultureInfo _
) As String
'Usage
Dim instance As Entity
Dim ct As ContentType
Dim ci As CultureInfo
Dim returnValue As String
returnValue = instance.EntityToString(ct, _
ci)
public string EntityToString(
ContentType ct,
CultureInfo ci
)
Parameters
ct
Type: Microsoft.Office.Server.ActivityFeed.ContentTypeThe ContentType of the string. If the ContentType is Html, then the string will be a hyperlink tag containing the Name and Href properties of this Entity.
ci
Type: System.Globalization.CultureInfoThe CultureInfo of the string value to be returned.
Return Value
Type: System.String