System.Data.SqlTypes.SqlInt16.ToSqlByte C# (CSharp) Method

ToSqlByte() public method

public ToSqlByte ( ) : SqlByte
return SqlByte
        public SqlByte ToSqlByte()
        {
            return (SqlByte)this;
        }

Usage Example

Beispiel #1
0
 /// <summary>
 /// Converts the value of the specified SqlInt16 to its equivalent SqlByte representation.
 /// </summary>
 /// <param name="value">An SqlInt16.</param>
 /// <returns>The equivalent SqlByte.</returns>
 public static SqlByte ToSqlByte(SqlInt16 value) { return value.ToSqlByte(); }
All Usage Examples Of System.Data.SqlTypes.SqlInt16::ToSqlByte