ExtensionMethodsTruncate(String, Int32, Boolean, String) Method
Namespace: CentralpointAssembly: Centralpoint (in Centralpoint.dll) Version: 2.0.0.0 (2.0.0.0)
public static string Truncate(
this string value,
int max,
bool removeMarkup,
string suffix
)
<ExtensionAttribute>
Public Shared Function Truncate (
value As String,
max As Integer,
removeMarkup As Boolean,
suffix As String
) As String
- value String
-
- max Int32
-
- removeMarkup Boolean
-
- suffix String
-
StringIn Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).