Edit

Share via


Conversions.FromCharArraySubset(Char[], Int32, Int32) Method

Definition

Converts a subset of a Char array to a string.

public:
 static System::String ^ FromCharArraySubset(cli::array <char> ^ Value, int StartIndex, int Length);
public static string FromCharArraySubset (char[] Value, int StartIndex, int Length);
static member FromCharArraySubset : char[] * int * int -> string
Public Shared Function FromCharArraySubset (Value As Char(), StartIndex As Integer, Length As Integer) As String

Parameters

Value
Char[]

The Char array to convert.

StartIndex
Int32

Zero-based index of the start position.

Length
Int32

Length of the subset in bytes.

Returns

The string representation of the specified array from the start position to the specified length.

Applies to