SPMobileComponent.GetEllipsisString 方法
从其获取不再比TextLengthLimit (移动呈现限制),如果有任何字符到末尾追加一个省略号已修整指定String可能被截断的版本。
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 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
)
参数
source
类型:System.String原始、 指示,的String中。
返回值
类型:System.String
String 可能会被截断,并被截断,如果包含一个追加的省略号。
备注
如果source不超过TextLengthLimit,则返回不变。