Méthode System::String::Join

String::Join(const String&, const ArrayPtr<SharedPtr<Object>>&) method

Joint le tableau en utilisant la chaîne comme séparateur.

static String System::String::Join(const String &separator, const ArrayPtr<SharedPtr<Object>> &parts)
ParamètreTypeDescription
separatorconst String&String à placer entre les éléments du tableau lors de la jointure.
partsconst ArrayPtr<SharedPtr<Object>>&Array des parties à joindre.

ReturnValue

String representing joint elements.

Voir aussi

String::Join(const String&, const ArrayPtr<String>&, int, int) method

Joint le tableau en utilisant la chaîne comme séparateur.

static String System::String::Join(const String &separator, const ArrayPtr<String> &parts, int startIndex=0, int count=-1)
ParamètreTypeDescription
separatorconst String&String à placer entre les éléments du tableau lors de la jointure.
partsconst ArrayPtr<String>&Array des parties à joindre.
startIndexintPremier indice du tableau à partir duquel commencer la jointure.
countintNombre d’éléments du tableau à joindre. -1 signifie « jusqu’à la fin du tableau ».

ReturnValue

String representing joint array elements.

Voir aussi

String::Join(const String&, const SharedPtr<System::Collections::Generic::IEnumerable<String>>&) method

Joint le tableau en utilisant la chaîne comme séparateur.

static String System::String::Join(const String &separator, const SharedPtr<System::Collections::Generic::IEnumerable<String>> &parts)
ParamètreTypeDescription
separatorconst String&String à placer entre les éléments du tableau lors de la jointure.
partiesconst SharedPtr<System::Collections::Generic::IEnumerable<String>>&- objet énumérable de parties

ReturnValue

String representing joint elements.

Voir aussi

String::Join(const String&, const System::Details::ArrayView<String>&, int, int) method

Joint le tableau en utilisant la chaîne comme séparateur.

static String System::String::Join(const String &separator, const System::Details::ArrayView<String> &parts, int startIndex=0, int count=-1)
ParamètreTypeDescription
separatorconst String&String à placer entre les éléments du tableau lors de la jointure.
partiesconst System::Details::ArrayView<String>&ArrayView des parties à joindre.
startIndexintPremier indice du tableau à partir duquel commencer la jointure.
countintNombre d’éléments du tableau à joindre. -1 signifie « jusqu’à la fin du tableau ».

ReturnValue

String representing joint array elements.

Voir aussi