Uredi

Deli z drugimi prek


SqlByte.Explicit Operator

Definition

Converts a parameter to a SqlByte.

Overloads

Explicit(SqlString to SqlByte)

Converts the supplied SqlString to SqlByte.

Explicit(SqlSingle to SqlByte)

Converts the supplied SqlSingle structure to SqlByte.

Explicit(SqlMoney to SqlByte)

Converts the SqlMoney parameter to a SqlByte.

Explicit(SqlInt64 to SqlByte)

Converts the supplied SqlInt64 to SqlByte.

Explicit(SqlInt32 to SqlByte)

Converts the supplied SqlInt32 to SqlByte.

Explicit(SqlDouble to SqlByte)

Converts the supplied SqlDouble to SqlByte.

Explicit(SqlDecimal to SqlByte)

Converts the supplied SqlDecimal to SqlByte.

Explicit(SqlByte to Byte)

Converts the supplied SqlByte structure to a byte.

Explicit(SqlBoolean to SqlByte)

Converts the SqlBoolean parameter to a SqlByte.

Explicit(SqlInt16 to SqlByte)

Converts the SqlInt16 parameter to a SqlByte.

Explicit(SqlString to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the supplied SqlString to SqlByte.

public:
 static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlString) As SqlByte

Parameters

x
SqlString

An instance of the SqlString class.

Returns

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

Remarks

The equivalent method for this operator is SqlString.ToSqlByte()

See also

Applies to

Explicit(SqlSingle to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the supplied SqlSingle structure to SqlByte.

public:
 static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlByte

Parameters

x
SqlSingle

A SqlSingle structure.

Returns

A SqlByte structure whose Value property is equal to the Value of the SqlSingle parameter.

Remarks

The equivalent method for this operator is SqlSingle.ToSqlByte()

See also

Applies to

Explicit(SqlMoney to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the SqlMoney parameter to a SqlByte.

public:
 static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlByte

Parameters

x
SqlMoney

A SqlMoney structure.

Returns

A SqlByte structure whose Value property is equal to the Value of the SqlMoney parameter.

Remarks

The equivalent method for this operator is SqlMoney.ToSqlByte()

See also

Applies to

Explicit(SqlInt64 to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the supplied SqlInt64 to SqlByte.

public:
 static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlInt64) As SqlByte

Parameters

x
SqlInt64

A SqlInt64 structure.

Returns

A SqlByte structure whose Value property is equal to the Value of the SqlInt64 parameter.

Remarks

The equivalent method for this operator is SqlInt64.ToSqlByte()

See also

Applies to

Explicit(SqlInt32 to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the supplied SqlInt32 to SqlByte.

public:
 static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlInt32 x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlInt32 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlInt32) As SqlByte

Parameters

x
SqlInt32

A SqlInt32 structure.

Returns

A SqlByte structure whose Value property is equal to the Value of the SqlInt32 parameter.

Remarks

The equivalent method for this operator is SqlInt32.ToSqlByte()

See also

Applies to

Explicit(SqlDouble to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the supplied SqlDouble to SqlByte.

public:
 static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlByte

Parameters

x
SqlDouble

A SqlDouble structure.

Returns

A SqlByte structure whose Value property is equal to the Value of the SqlDouble parameter.

Remarks

The equivalent method for this operator is SqlDouble.ToSqlByte()

See also

Applies to

Explicit(SqlDecimal to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the supplied SqlDecimal to SqlByte.

public:
 static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlByte

Parameters

x
SqlDecimal

A SqlDecimal structure.

Returns

A SqlByte structure whose Value property is equal to the Value of the SqlDecimal parameter.

Remarks

The equivalent method for this operator is SqlDecimal.ToSqlByte()

See also

Applies to

Explicit(SqlByte to Byte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the supplied SqlByte structure to a byte.

public:
 static explicit operator System::Byte(System::Data::SqlTypes::SqlByte x);
public static explicit operator byte (System.Data.SqlTypes.SqlByte x);
static member op_Explicit : System.Data.SqlTypes.SqlByte -> byte
Public Shared Narrowing Operator CType (x As SqlByte) As Byte

Parameters

x
SqlByte

The SqlByte structure to be converted to a byte.

Returns

A byte whose value equals the Value property of the SqlByte parameter.

See also

Applies to

Explicit(SqlBoolean to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the SqlBoolean parameter to a SqlByte.

public:
 static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlByte

Parameters

x
SqlBoolean

The SqlBoolean parameter to be converted to a SqlByte.

Returns

A SqlByte whose Value property equals the ByteValue of the supplied SqlBoolean parameter.

Remarks

The equivalent method for this operator is SqlBoolean.ToSqlByte()

See also

Applies to

Explicit(SqlInt16 to SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Converts the SqlInt16 parameter to a SqlByte.

public:
 static explicit operator System::Data::SqlTypes::SqlByte(System::Data::SqlTypes::SqlInt16 x);
public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlInt16 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlByte
Public Shared Narrowing Operator CType (x As SqlInt16) As SqlByte

Parameters

x
SqlInt16

A SqlInt16 structure.

Returns

A SqlByte structure whose Value property is equal to the Value of the SqlInt16 parameter.

Remarks

The equivalent method for this operator is SqlInt16.ToSqlByte()

See also

Applies to