| StringCollectionExtensionsFormatDelimitedDisplayValue Method (ListString, Int32) |
Extends the class with a method for building a delimited string with the values.
If the delimited string exceeds a specified maximum then the string is clipped and punctuated and the no. of items is appended.
Namespace:
Omada.OE.Model
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic static string FormatDelimitedDisplayValue(
this List<string> items,
int maxLength = 0
)
Parameters
- items
- Type: System.Collections.GenericListString
- maxLength (Optional)
- Type: SystemInt32
Is ignored if less than 10.
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ListString. 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