SPMobileComponent.GetEllipsisString Method

Gets a possibly truncated version of the specified String that is no longer than TextLengthLimit (the mobile rendering limit) and that has an ellipsis appended to the end if any characters have been trimmed from it.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Protected Overridable Function GetEllipsisString ( _
    source As String _
) As String
Dim source As String
Dim returnValue As String

returnValue = Me.GetEllipsisString(source)
protected virtual string GetEllipsisString(
    string source


Return Value

Type: System.String
A String that may be truncated and, if truncated, includes an appended ellipsis.


If source does not exceed TextLengthLimit, it returns unchanged.

See Also


SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace