SqlByte Explicit Conversion (SqlString to SqlByte)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlString.ToSqlByte

Converts the supplied SqlString to SqlByte.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static explicit operator SqlByte (
	SqlString x
)

Parameters

x
Type: System.Data.SqlTypes.SqlString

An instance of the SqlString class.

Return Value

Type: System.Data.SqlTypes.SqlByte

A SqlByte structure whose Value property is equal to the numeric value represented by the SqlString.

.NET Framework
Available since 1.1
Return to top
Show: