Class ArrayConvert
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
public static class ArrayConvert
- Inheritance
-
ArrayConvert
- Inherited Members
Methods
ToArray(string, int, Type)
public static Array ToArray(string value, int rank, Type elementType)
Parameters
value
stringThe string to convert.
rank
intThe rank of the result array; can be either one- or two-dimensional.
elementType
TypeThe type of the elements in the array.
Returns
ToArray(string, int, Type, IFormatProvider)
Converts the string to an Array equivalent with
the specified rank
and elementType
using
a provider
of culture-specific formatting information.
public static Array ToArray(string value, int rank, Type elementType, IFormatProvider provider)
Parameters
value
stringThe string to convert.
rank
intThe rank of the result array; can be either one- or two-dimensional.
elementType
TypeThe type of the elements in the array.
provider
IFormatProviderAn object that supplies culture-specific formatting information.
Returns
ToString(Array)
public static string ToString(Array array)
Parameters
Returns
ToString(Array, IFormatProvider)
public static string ToString(Array array, IFormatProvider provider)
Parameters
array
ArrayThe Array to be converted.
provider
IFormatProviderAn object that supplies culture-specific formatting information.