StringExtensions..::..ToByte Method (String, NumberStyles)

To the byte.

Namespace:  MichaelBrandonMorris.Extensions.PrimitiveExtensions
Assembly:  MichaelBrandonMorris.Extensions.PrimitiveExtensions (in MichaelBrandonMorris.Extensions.PrimitiveExtensions.dll)

Syntax


public static byte ToByte(
	string s,
	NumberStyles style
)
Public Shared Function ToByte ( _
	s As String, _
	style As NumberStyles _
) As Byte
public:
static unsigned char^ ToByte(
	String^ s, 
	NumberStyles^ style
)

Parameters

s
Type: String
The s.
style
Type: NumberStyles
The style.

Return Value

System.Byte.