RefinementFilterGenerator.TruncatedString Method
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Shared Function TruncatedString ( _
origStr As String, _
maxCharacters As Integer _
) As String
'Usage
Dim origStr As String
Dim maxCharacters As Integer
Dim returnValue As String
returnValue = RefinementFilterGenerator.TruncatedString(origStr, _
maxCharacters)
protected static string TruncatedString(
string origStr,
int maxCharacters
)
Parameters
- origStr
Type: System.String
- maxCharacters
Type: System.Int32
Return Value
Type: System.String
Returns String.
See Also
Reference
RefinementFilterGenerator Class