Converts the value of this instance to a
Char array.
Namespace: MonoSoftware.CoreAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public static char[] ToChars(
this StringBuilder sb
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function ToChars (
sb As StringBuilder
) As Char() |
Visual C++ |
---|
public:
[ExtensionAttribute]
static array<wchar_t>^ ToChars(
StringBuilder^ sb
) |
F# |
---|
static member ToChars :
sb : StringBuilder -> char[]
|
Return Value
Type:
array<Char>[]()[][]Char array
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
StringBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also