Bridge

String..::..ToCharArray Method

Copies the characters in this instance to a Unicode character array.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public char[] ToCharArray()
<TemplateAttribute> _
Public Function ToCharArray As Char()
[TemplateAttribute]
public:
array<wchar_t^>^ ToCharArray()

Return Value

A Unicode character array whose elements are the individual characters of this instance. If this instance is an empty string, the returned array is empty and has a zero length.