System.Data.SqlTypes.SqlInt16.ToSqlByte C# (CSharp) Méthode

ToSqlByte() public méthode

public ToSqlByte ( ) : SqlByte
Résultat SqlByte
        public SqlByte ToSqlByte()
        {
            return (SqlByte)this;
        }

Usage Example

Exemple #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