System.Data.SqlTypes.SqlSingle.ToSqlInt16 C# (CSharp) Méthode

ToSqlInt16() public méthode

public ToSqlInt16 ( ) : SqlInt16
Résultat SqlInt16
        public SqlInt16 ToSqlInt16()
        {
            return (SqlInt16)this;
        }

Usage Example

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