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

ToSqlByte() public method

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

Usage Example

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