Partager via


Conversions.FromCharArraySubset Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Converts a subset of a Char array to a string.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Shared Function FromCharArraySubset ( _
    Value As Char(), _
    StartIndex As Integer, _
    Length As Integer _
) As String
public static string FromCharArraySubset(
    char[] Value,
    int StartIndex,
    int Length
)

Parameters

  • Value
    Type: array<System.Char[]
    The Char array to convert.
  • StartIndex
    Type: System.Int32
    Zero-based index of the start position.

Return Value

Type: System.String
The string representation of the specified array from the start position to the specified length.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.