SqlInt32 Explicit Conversion (SqlString to SqlInt32)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlString.ToSqlInt32

Converts the supplied SqlString object to SqlInt32.

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

public:
static explicit operator SqlInt32 (
	SqlString x
)

Parameters

x
Type: System.Data.SqlTypes::SqlString

A SqlString object.

Return Value

Type: System.Data.SqlTypes::SqlInt32

A new SqlInt32 structure whose Value property equals the value represented by the SqlString parameter.

.NET Framework
Available since 1.1
Return to top
Show: