ExtensionMethodsTrimLength Method |
[Missing <summary> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.TrimLength(System.String,System.Int32)"]
Namespace: Scanjour.Workflow4.BaseAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic static string TrimLength(
this string str,
int maxLenght
)
<ExtensionAttribute>
Public Shared Function TrimLength (
str As String,
maxLenght As Integer
) As String
public:
[ExtensionAttribute]
static String^ TrimLength(
String^ str,
int maxLenght
)
[<ExtensionAttribute>]
static member TrimLength :
str : string *
maxLenght : int -> string
Parameters
- str String
[Missing <param name="str"/> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.TrimLength(System.String,System.Int32)"]
- maxLenght Int32
[Missing <param name="maxLenght"/> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.TrimLength(System.String,System.Int32)"]
Return Value
String[Missing <returns> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.TrimLength(System.String,System.Int32)"]
Usage Note
In 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).
See Also