SqlInt16 SqlInt16 SqlInt16 SqlInt16 Struct

Définition

Représente un entier signé 16 bits à stocker dans une base de données ou à récupérer de celle-ci.Represents a 16-bit signed integer to be stored in or retrieved from a database.

public value class SqlInt16 : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
[System.Serializable]
public struct SqlInt16 : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlInt16 = struct
    interface INullable
    interface IXmlSerializable
Public Structure SqlInt16
Implements IComparable, INullable, IXmlSerializable
Héritage
Attributs
Implémente

Constructeurs

SqlInt16(Int16) SqlInt16(Int16) SqlInt16(Int16) SqlInt16(Int16)

Initialise une nouvelle instance de la structure SqlInt16 à l'aide du paramètre de type Entier court fourni.Initializes a new instance of the SqlInt16 structure using the supplied short integer parameter.

Champs

MaxValue MaxValue MaxValue MaxValue

Constante représentant la plus grande valeur possible de SqlInt16.A constant representing the largest possible value of a SqlInt16.

MinValue MinValue MinValue MinValue

Constante représentant la plus petite valeur possible de SqlInt16.A constant representing the smallest possible value of a SqlInt16.

Null Null Null Null

Représente DBNull pouvant être assigné à cette instance de la structure SqlInt16.Represents a DBNull that can be assigned to this instance of the SqlInt16 structure.

Zero Zero Zero Zero

Représente une valeur 0 pouvant être assignée à la propriété Value d'une instance de la structure SqlInt16.Represents a zero value that can be assigned to the Value property of an instance of the SqlInt16 structure.

Propriétés

IsNull IsNull IsNull IsNull

Indique si cette structure SqlInt16 a la valeur Null.Indicates whether this SqlInt16 structure is null.

Value Value Value Value

Obtient la valeur de cette instance de la structure SqlInt16.Gets the value of this instance of SqlInt16 structure. Cette propriété est en lecture seule.This property is read-only.

Méthodes

Add(SqlInt16, SqlInt16) Add(SqlInt16, SqlInt16) Add(SqlInt16, SqlInt16) Add(SqlInt16, SqlInt16)

Calcule la somme des deux opérandes SqlInt16.Computes the sum of the two SqlInt16 operands.

BitwiseAnd(SqlInt16, SqlInt16) BitwiseAnd(SqlInt16, SqlInt16) BitwiseAnd(SqlInt16, SqlInt16) BitwiseAnd(SqlInt16, SqlInt16)

Calcule l'opération de bits AND de ses opérandes SqlInt16.Computes the bitwise AND of its SqlInt16 operands.

BitwiseOr(SqlInt16, SqlInt16) BitwiseOr(SqlInt16, SqlInt16) BitwiseOr(SqlInt16, SqlInt16) BitwiseOr(SqlInt16, SqlInt16)

Calcule l'opération de bits OR de ses deux opérandes SqlInt16.Computes the bitwise OR of its two SqlInt16 operands.

CompareTo(SqlInt16) CompareTo(SqlInt16) CompareTo(SqlInt16) CompareTo(SqlInt16)

Compare cette instance de SqlInt16 à l'objet SqlInt16 fourni et retourne une indication de leurs valeurs relatives.Compares this SqlInt16 instance to the supplied SqlInt16 and returns an indication of their relative values.

CompareTo(Object) CompareTo(Object) CompareTo(Object) CompareTo(Object)

Compare cette instance de SqlInt16 à l'objet Object fourni et retourne une indication de leurs valeurs relatives.Compares this SqlInt16 instance to the supplied Object and returns an indication of their relative values.

Divide(SqlInt16, SqlInt16) Divide(SqlInt16, SqlInt16) Divide(SqlInt16, SqlInt16) Divide(SqlInt16, SqlInt16)

Divise le premier opérande SqlInt16 par le second.Divides the first SqlInt16 operand by the second.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compare l'objet spécifié à la propriété Value de l'objet SqlInt16.Compares the specified object to the Value property of the SqlInt16 object.

Equals(SqlInt16, SqlInt16) Equals(SqlInt16, SqlInt16) Equals(SqlInt16, SqlInt16) Equals(SqlInt16, SqlInt16)

Effectue une comparaison logique de deux structures SqlInt16 pour déterminer si elles sont égales.Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Retourne le code de hachage de cette instance.Returns the hash code for this instance.

GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet) GetXsdType(XmlSchemaSet)

Retourne le langage XSD (XML Schema Definition) du XmlSchemaSet spécifié.Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.

GreaterThan(SqlInt16, SqlInt16) GreaterThan(SqlInt16, SqlInt16) GreaterThan(SqlInt16, SqlInt16) GreaterThan(SqlInt16, SqlInt16)

Compare deux instances de SqlInt16 pour déterminer si la première est supérieure à la seconde.Compares two instances of SqlInt16 to determine whether the first is greater than the second.

GreaterThanOrEqual(SqlInt16, SqlInt16) GreaterThanOrEqual(SqlInt16, SqlInt16) GreaterThanOrEqual(SqlInt16, SqlInt16) GreaterThanOrEqual(SqlInt16, SqlInt16)

Compare deux structures SqlInt16 pour déterminer si la première est supérieure ou égale à la seconde.Compares two SqlInt16 structures to determine whether the first is greater than or equal to the second.

LessThan(SqlInt16, SqlInt16) LessThan(SqlInt16, SqlInt16) LessThan(SqlInt16, SqlInt16) LessThan(SqlInt16, SqlInt16)

Compare deux instances de SqlInt16 pour déterminer si la première est inférieure à la seconde.Compares two instances of SqlInt16 to determine whether the first is less than the second.

LessThanOrEqual(SqlInt16, SqlInt16) LessThanOrEqual(SqlInt16, SqlInt16) LessThanOrEqual(SqlInt16, SqlInt16) LessThanOrEqual(SqlInt16, SqlInt16)

Compare deux structures SqlInt16 pour déterminer si la première est inférieure ou égale à la seconde.Compares two SqlInt16 structures to determine whether the first is less than or equal to the second.

Mod(SqlInt16, SqlInt16) Mod(SqlInt16, SqlInt16) Mod(SqlInt16, SqlInt16) Mod(SqlInt16, SqlInt16)

Calcule le reste de la division du premier opérande SqlInt16 par le second.Computes the remainder after dividing its first SqlInt16 operand by its second.

Modulus(SqlInt16, SqlInt16) Modulus(SqlInt16, SqlInt16) Modulus(SqlInt16, SqlInt16) Modulus(SqlInt16, SqlInt16)

Divise deux valeurs SqlInt16 et retourne le reste.Divides two SqlInt16 values and returns the remainder.

Multiply(SqlInt16, SqlInt16) Multiply(SqlInt16, SqlInt16) Multiply(SqlInt16, SqlInt16) Multiply(SqlInt16, SqlInt16)

Calcule le produit des deux paramètres SqlInt16.Computes the product of the two SqlInt16 parameters.

NotEquals(SqlInt16, SqlInt16) NotEquals(SqlInt16, SqlInt16) NotEquals(SqlInt16, SqlInt16) NotEquals(SqlInt16, SqlInt16)

Effectue une comparaison logique de deux structures SqlInt16 pour déterminer si elles ne sont pas égales.Performs a logical comparison of two SqlInt16 structures to determine whether they are not equal.

OnesComplement(SqlInt16) OnesComplement(SqlInt16) OnesComplement(SqlInt16) OnesComplement(SqlInt16)

L'opérateur ~ effectue une opération de bits de complément à 1 sur son opérande SqlByte.The ~ operator performs a bitwise one's complement operation on its SqlByte operand.

Parse(String) Parse(String) Parse(String) Parse(String)

Convertit la représentation String d’un nombre en entier signé 16 bits équivalent.Converts the String representation of a number to its 16-bit signed integer equivalent.

Subtract(SqlInt16, SqlInt16) Subtract(SqlInt16, SqlInt16) Subtract(SqlInt16, SqlInt16) Subtract(SqlInt16, SqlInt16)

Soustrait le second paramètre SqlInt16 du premier.Subtracts the second SqlInt16 parameter from the first.

ToSqlBoolean() ToSqlBoolean() ToSqlBoolean() ToSqlBoolean()

Convertit cette structure SqlInt16 en SqlBoolean.Converts this SqlInt16 structure to SqlBoolean.

ToSqlByte() ToSqlByte() ToSqlByte() ToSqlByte()

Convertit cette structure SqlInt16 en SqlByte.Converts this SqlInt16 structure to SqlByte.

ToSqlDecimal() ToSqlDecimal() ToSqlDecimal() ToSqlDecimal()

Convertit cette structure SqlInt16 en SqlDecimal.Converts this SqlInt16 structure to SqlDecimal.

ToSqlDouble() ToSqlDouble() ToSqlDouble() ToSqlDouble()

Convertit cette structure SqlInt16 en SqlDouble.Converts this SqlInt16 structure to SqlDouble.

ToSqlInt32() ToSqlInt32() ToSqlInt32() ToSqlInt32()

Convertit cette structure SqlInt16 en SqlInt32.Converts this SqlInt16 structure to SqlInt32.

ToSqlInt64() ToSqlInt64() ToSqlInt64() ToSqlInt64()

Convertit cette structure SqlInt16 en SqlInt64.Converts this SqlInt16 structure to SqlInt64.

ToSqlMoney() ToSqlMoney() ToSqlMoney() ToSqlMoney()

Convertit cette structure SqlInt16 en SqlMoney.Converts this SqlInt16 structure to SqlMoney.

ToSqlSingle() ToSqlSingle() ToSqlSingle() ToSqlSingle()

Convertit cette structure SqlInt16 en SqlSingle.Converts this SqlInt16 structure to SqlSingle.

ToSqlString() ToSqlString() ToSqlString() ToSqlString()

Convertit cette structure SqlInt16 en SqlString.Converts this SqlInt16 structure to SqlString.

ToString() ToString() ToString() ToString()

Convertit une structure SqlInt16 en String.Converts a SqlInt16 structure to String.

Xor(SqlInt16, SqlInt16) Xor(SqlInt16, SqlInt16) Xor(SqlInt16, SqlInt16) Xor(SqlInt16, SqlInt16)

Effectue une opération de bits OR exclusive sur les paramètres fournis.Performs a bitwise exclusive-OR operation on the supplied parameters.

Opérateurs

Addition(SqlInt16, SqlInt16) Addition(SqlInt16, SqlInt16) Addition(SqlInt16, SqlInt16) Addition(SqlInt16, SqlInt16)

Calcule la somme des deux opérandes SqlInt16.Computes the sum of the two SqlInt16 operands.

BitwiseAnd(SqlInt16, SqlInt16) BitwiseAnd(SqlInt16, SqlInt16) BitwiseAnd(SqlInt16, SqlInt16) BitwiseAnd(SqlInt16, SqlInt16)

Calcule l'opération de bits AND de ses opérandes SqlInt16.Computes the bitwise AND of its SqlInt16 operands.

BitwiseOr(SqlInt16, SqlInt16) BitwiseOr(SqlInt16, SqlInt16) BitwiseOr(SqlInt16, SqlInt16) BitwiseOr(SqlInt16, SqlInt16)

Calcule l'opération de bits OR de ses deux opérandes SqlInt16.Computes the bitwise OR of its two SqlInt16 operands.

Division(SqlInt16, SqlInt16) Division(SqlInt16, SqlInt16) Division(SqlInt16, SqlInt16) Division(SqlInt16, SqlInt16)

Divise le premier opérande SqlInt16 par le second.Divides the first SqlInt16 operand by the second.

Equality(SqlInt16, SqlInt16) Equality(SqlInt16, SqlInt16) Equality(SqlInt16, SqlInt16) Equality(SqlInt16, SqlInt16)

Effectue une comparaison logique de deux structures SqlInt16 pour déterminer si elles sont égales.Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.

ExclusiveOr(SqlInt16, SqlInt16) ExclusiveOr(SqlInt16, SqlInt16) ExclusiveOr(SqlInt16, SqlInt16) ExclusiveOr(SqlInt16, SqlInt16)

Effectue une opération de bits OR exclusive sur les paramètres fournis.Performs a bitwise exclusive-OR operation on the supplied parameters.

Explicit(SqlString to SqlInt16) Explicit(SqlString to SqlInt16) Explicit(SqlString to SqlInt16) Explicit(SqlString to SqlInt16)

Convertit l'objet SqlString fourni en SqlInt16.Converts the supplied SqlString object to SqlInt16.

Explicit(SqlSingle to SqlInt16) Explicit(SqlSingle to SqlInt16) Explicit(SqlSingle to SqlInt16) Explicit(SqlSingle to SqlInt16)

Convertit la structure SqlSingle fournie en SqlInt16.Converts the supplied SqlSingle structure to SqlInt16.

Explicit(SqlMoney to SqlInt16) Explicit(SqlMoney to SqlInt16) Explicit(SqlMoney to SqlInt16) Explicit(SqlMoney to SqlInt16)

Convertit la structure SqlMoney fournie en SqlInt16.Converts the supplied SqlMoney structure to SqlInt16.

Explicit(SqlInt64 to SqlInt16) Explicit(SqlInt64 to SqlInt16) Explicit(SqlInt64 to SqlInt16) Explicit(SqlInt64 to SqlInt16)

Convertit la structure SqlInt64 fournie en SqlInt16.Converts the supplied SqlInt64 structure to SqlInt16.

Explicit(SqlInt32 to SqlInt16) Explicit(SqlInt32 to SqlInt16) Explicit(SqlInt32 to SqlInt16) Explicit(SqlInt32 to SqlInt16)

Convertit la structure SqlInt32 fournie en SqlInt16.Converts the supplied SqlInt32 structure to SqlInt16.

Explicit(SqlInt16 to Int16) Explicit(SqlInt16 to Int16) Explicit(SqlInt16 to Int16) Explicit(SqlInt16 to Int16)

Convertit la structure SqlInt16 fournie en entier court.Converts the supplied SqlInt16 structure to a short integer.

Explicit(SqlDouble to SqlInt16) Explicit(SqlDouble to SqlInt16) Explicit(SqlDouble to SqlInt16) Explicit(SqlDouble to SqlInt16)

Convertit la structure SqlDouble fournie en SqlInt16.Converts the supplied SqlDouble structure to SqlInt16.

Explicit(SqlDecimal to SqlInt16) Explicit(SqlDecimal to SqlInt16) Explicit(SqlDecimal to SqlInt16) Explicit(SqlDecimal to SqlInt16)

Convertit la structure SqlDecimal fournie en SqlInt16.Converts the supplied SqlDecimal structure to SqlInt16.

Explicit(SqlBoolean to SqlInt16) Explicit(SqlBoolean to SqlInt16) Explicit(SqlBoolean to SqlInt16) Explicit(SqlBoolean to SqlInt16)

Convertit la structure SqlBoolean fournie en SqlInt16.Converts the supplied SqlBoolean structure to SqlInt16.

GreaterThan(SqlInt16, SqlInt16) GreaterThan(SqlInt16, SqlInt16) GreaterThan(SqlInt16, SqlInt16) GreaterThan(SqlInt16, SqlInt16)

Compare deux instances de SqlInt16 pour déterminer si la première est supérieure à la seconde.Compares two instances of SqlInt16 to determine whether the first is greater than the second.

GreaterThanOrEqual(SqlInt16, SqlInt16) GreaterThanOrEqual(SqlInt16, SqlInt16) GreaterThanOrEqual(SqlInt16, SqlInt16) GreaterThanOrEqual(SqlInt16, SqlInt16)

Compare deux structures SqlInt16 pour déterminer si la première est supérieure ou égale à la seconde.Compares two SqlInt16 structures to determine whether the first is greater than or equal to the second.

Implicit(SqlByte to SqlInt16) Implicit(SqlByte to SqlInt16) Implicit(SqlByte to SqlInt16) Implicit(SqlByte to SqlInt16)

Convertit la structure SqlByte fournie en SqlInt16.Converts the supplied SqlByte structure to SqlInt16.

Implicit(Int16 to SqlInt16) Implicit(Int16 to SqlInt16) Implicit(Int16 to SqlInt16) Implicit(Int16 to SqlInt16)

Convertit l'entier court fourni en SqlInt16.Converts the supplied short integer to SqlInt16.

Inequality(SqlInt16, SqlInt16) Inequality(SqlInt16, SqlInt16) Inequality(SqlInt16, SqlInt16) Inequality(SqlInt16, SqlInt16)

Effectue une comparaison logique de deux structures SqlInt16 pour déterminer si elles ne sont pas égales.Performs a logical comparison of two SqlInt16 structures to determine whether they are not equal.

LessThan(SqlInt16, SqlInt16) LessThan(SqlInt16, SqlInt16) LessThan(SqlInt16, SqlInt16) LessThan(SqlInt16, SqlInt16)

Compare deux instances de SqlInt16 pour déterminer si la première est inférieure à la seconde.Compares two instances of SqlInt16 to determine whether the first is less than the second.

LessThanOrEqual(SqlInt16, SqlInt16) LessThanOrEqual(SqlInt16, SqlInt16) LessThanOrEqual(SqlInt16, SqlInt16) LessThanOrEqual(SqlInt16, SqlInt16)

Compare deux structures SqlInt16 pour déterminer si la première est inférieure ou égale à la seconde.Compares two SqlInt16 structures to determine whether the first is less than or equal to the second.

Modulus(SqlInt16, SqlInt16) Modulus(SqlInt16, SqlInt16) Modulus(SqlInt16, SqlInt16) Modulus(SqlInt16, SqlInt16)

Calcule le reste de la division du premier opérande SqlInt16 par le second.Computes the remainder after dividing its first SqlInt16 operand by its second.

Multiply(SqlInt16, SqlInt16) Multiply(SqlInt16, SqlInt16) Multiply(SqlInt16, SqlInt16) Multiply(SqlInt16, SqlInt16)

Calcule le produit des deux paramètres SqlInt16.Computes the product of the two SqlInt16 parameters.

OnesComplement(SqlInt16) OnesComplement(SqlInt16) OnesComplement(SqlInt16) OnesComplement(SqlInt16)

L'opérateur ~ effectue une opération de bits de complément à 1 sur son opérande SqlByte.The ~ operator performs a bitwise one's complement operation on its SqlByte operand.

Subtraction(SqlInt16, SqlInt16) Subtraction(SqlInt16, SqlInt16) Subtraction(SqlInt16, SqlInt16) Subtraction(SqlInt16, SqlInt16)

Soustrait le second paramètre SqlInt16 du premier.Subtracts the second SqlInt16 parameter from the first.

UnaryNegation(SqlInt16) UnaryNegation(SqlInt16) UnaryNegation(SqlInt16) UnaryNegation(SqlInt16)

L'opérateur moins unaire rend le Value de l'opérande SqlInt16 négatif.The unary minus operator negates the Value of the SqlInt16 operand.

Implémentations d’interfaces explicites

IXmlSerializable.GetSchema() IXmlSerializable.GetSchema() IXmlSerializable.GetSchema() IXmlSerializable.GetSchema()

Ce membre prend en charge l'infrastructure .NET Framework et n'est pas destiné à être utilisé directement à partir de votre code.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader) IXmlSerializable.ReadXml(XmlReader)

Ce membre prend en charge l'infrastructure .NET Framework et n'est pas destiné à être utilisé directement à partir de votre code.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter) IXmlSerializable.WriteXml(XmlWriter)

Ce membre prend en charge l'infrastructure .NET Framework et n'est pas destiné à être utilisé directement à partir de votre code.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

S’applique à

Voir aussi