StringExtensions.ToByteArray Method

Telerik ILS Common String Extenstion Methods

StringExtensionsToByteArray Method
Converts the curret string to an array of integers, representing the byte values in decimal of its internal memory representation.

Namespace: Telerik.ILS.Common
Assembly: StringExtensions (in StringExtensions.dll) Version: (
public static byte[] ToByteArray(
	this string input
Public Shared Function ToByteArray ( 
	input As String
) As Byte()
static array<unsigned char>^ ToByteArray(
	String^ input
static member ToByteArray : 
        input : string -> byte[] 


Type: SystemString

Return Value

Type: Byte

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. 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