| StringExtensionsToByteArray Method  | 
            Converts an inbound string to a byte array
            
 
Namespace: Bio.ExtensionsAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntaxpublic static byte[] ToByteArray(
	this string data
)
<ExtensionAttribute>
Public Shared Function ToByteArray ( 
	data As String
) As Byte()
public:
[ExtensionAttribute]
static array<unsigned char>^ ToByteArray(
	String^ data
)
[<ExtensionAttribute>]
static member ToByteArray : 
        data : string -> byte[] 
Parameters
- data
 - Type: SystemString
[Missing <param name="data"/> documentation for "M:Bio.Extensions.StringExtensions.ToByteArray(System.String)"]
 
Return Value
Type: 
ByteByte array
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