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

ToSqlInt16() public method

public ToSqlInt16 ( ) : SqlInt16
return SqlInt16
        public SqlInt16 ToSqlInt16()
        {
            return (SqlInt16)this;
        }

Usage Example

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