StringExtensions.ToByteArray Method

Telerik.ILS.Common

StringExtensionsToByteArray Method
The method converts a string to byte array

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

Parameters

input
Type: SystemString

[Missing <param name="input"/> documentation for "M:Telerik.ILS.Common.StringExtensions.ToByteArray(System.String)"]

Return Value

Type: Byte
Returns a byte array of the string

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