Conversions.FromCharArraySubset(Char[], Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.