다음을 통해 공유


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)

Syntax

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

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

Parameters

Return Value

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

Remarks

If source does not exceed TextLengthLimit, it returns unchanged.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace