Bagikan melalui


Conversions.FromCharAndCount Method

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

Converts a Char value to a string, given a byte count.

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

Syntax

'Declaration
Public Shared Function FromCharAndCount ( _
    Value As Char, _
    Count As Integer _
) As String
public static string FromCharAndCount(
    char Value,
    int Count
)

Parameters

  • Count
    Type: System.Int32
    The byte count of the Char value.

Return Value

Type: System.String
The string representation of the specified value.

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.