Creatio development guide
Это документация Creatio версии 7.9.0. Мы рекомендуем использовать новую версию документации.

StringUtilities.ConcatIfNotEmpty(IEnumerable,String,Int32) - метод Смотри также  Terrasoft.Common - пространство имен > StringUtilities - класс > ConcatIfNotEmpty - метод : ConcatIfNotEmpty(IEnumerable,String,Int32) - метод C#

source
The list of elements to combine.
separator
Delimiter.
maxNumber
Maximum number of items joined in string.

Glossary Item Box

Combines into a single string the list of specified elements separated with the specified delimeter if the elements are not empty. The number of items joined in the string is limited by maxNumber. If the number of source items exceeds maxNumber, the rest of the items will be replaced with three dots (...).

Синтаксис

[Extension()] 
public static string ConcatIfNotEmpty( 
   IEnumerable<string> source, 
   string separator, 
   int maxNumber 
)

Параметры

source
The list of elements to combine.
separator
Delimiter.
maxNumber
Maximum number of items joined in string.

Тип возвращаемого значения

The new string that contains the nonempty source elements separated with separator.

Заметки

Overloaded method.

Extensible method for the classes that implement the IEnumerable interface.

Смотри также

© Terrasoft 2002-2017.

Был ли данный материал полезен?

Как можно улучшить эту статью?