System::String::Join método

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

Une una matriz usando una cadena como separador.

static String System::String::Join(const String &separator, const ArrayPtr<SharedPtr<Object>> &parts)
ParámetroTipoDescripción
separatorconst String&String para colocar entre los elementos del arreglo al unirlos.
partsconst ArrayPtr<SharedPtr<Object>>&Array de partes a unir.

ReturnValue

String representing joint elements.

Ver también

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

Une una matriz usando una cadena como separador.

static String System::String::Join(const String &separator, const ArrayPtr<String> &parts, int startIndex=0, int count=-1)
ParámetroTipoDescripción
separatorconst String&String para colocar entre los elementos del arreglo al unirlos.
partsconst ArrayPtr<String>&Array de partes a unir.
startIndexintPrimer índice en el arreglo desde donde comenzar a unir.
countintNúmero de elementos del arreglo a unir. -1 significa ‘hasta que el arreglo termine’.

ReturnValue

String representing joint array elements.

Ver también

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

Une una matriz usando una cadena como separador.

static String System::String::Join(const String &separator, const SharedPtr<System::Collections::Generic::IEnumerable<String>> &parts)
ParámetroTipoDescripción
separatorconst String&String para colocar entre los elementos del arreglo al unirlos.
partesconst SharedPtr<System::Collections::Generic::IEnumerable<String>>&- objeto enumerable de partes

ReturnValue

String representing joint elements.

Ver también

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

Une una matriz usando una cadena como separador.

static String System::String::Join(const String &separator, const System::Details::ArrayView<String> &parts, int startIndex=0, int count=-1)
ParámetroTipoDescripción
separatorconst String&String para colocar entre los elementos del arreglo al unirlos.
partesconst System::Details::ArrayView<String>&ArrayView de partes a unir.
startIndexintPrimer índice en el arreglo desde donde comenzar a unir.
countintNúmero de elementos del arreglo a unir. -1 significa ‘hasta que el arreglo termine’.

ReturnValue

String representing joint array elements.

Ver también