SqlInt16 SqlInt16 SqlInt16 SqlInt16 Struct

Definizione

Rappresenta un intero con segno a 16 bit da archiviare o recuperare da un database.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
Ereditarietà
Attributi
Implementazioni

Costruttori

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

Inizializza una nuova istanza della struttura SqlInt16 utilizzando il parametro short integer.Initializes a new instance of the SqlInt16 structure using the supplied short integer parameter.

Campi

MaxValue MaxValue MaxValue MaxValue

Costante che rappresenta il massimo valore possibile di un oggetto SqlInt16.A constant representing the largest possible value of a SqlInt16.

MinValue MinValue MinValue MinValue

Costante che rappresenta il minimo valore possibile di un oggetto SqlInt16.A constant representing the smallest possible value of a SqlInt16.

Null Null Null Null

Rappresenta un oggetto DBNull che può essere assegnato a questa istanza della struttura di SqlInt16.Represents a DBNull that can be assigned to this instance of the SqlInt16 structure.

Zero Zero Zero Zero

Rappresenta un valore zero che può essere assegnato alla proprietà Value di un’istanza della struttura SqlInt16.Represents a zero value that can be assigned to the Value property of an instance of the SqlInt16 structure.

Proprietà

IsNull IsNull IsNull IsNull

Indica se la struttura SqlInt16 è Null.Indicates whether this SqlInt16 structure is null.

Value Value Value Value

Ottiene il valore dell’istanza della struttura SqlInt16.Gets the value of this instance of SqlInt16 structure. Questa proprietà è di sola lettura.This property is read-only.

Metodi

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

Calcola la somma di due operandi SqlInt16.Computes the sum of the two SqlInt16 operands.

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

Calcola l’operazione AND bit per bit dei relativi operandi SqlInt16.Computes the bitwise AND of its SqlInt16 operands.

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

Calcola l’operatore OR bit per bit dei due operandi SqlInt16.Computes the bitwise OR of its two SqlInt16 operands.

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

Confronta questa istanza SqlInt16 all'oggetto SqlInt16 fornito e restituisce un'indicazione dei valori relativi.Compares this SqlInt16 instance to the supplied SqlInt16 and returns an indication of their relative values.

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

Confronta questa istanza SqlInt16 all'oggetto Object fornito e restituisce un'indicazione dei valori relativi.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)

Divide il primo operando SqlInt16 per il secondo.Divides the first SqlInt16 operand by the second.

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

Confronta l’oggetto specificato con la proprietà Value dell’oggetto 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)

Esegue un confronto logico di due strutture SqlInt16 per stabilire se sono uguali.Performs a logical comparison of two SqlInt16 structures to determine whether they are equal.

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

Restituisce il codice hash per l'istanza.Returns the hash code for this instance.

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

Restituisce il linguaggio XSD (XML Schema Definition) dell'oggetto XmlSchemaSet specificato.Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.

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

Confronta due istanze dell'oggetto SqlInt16 per stabilire se la prima è maggiore della seconda.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)

Confronta due strutture SqlInt16 per stabilire se la prima è maggiore o uguale alla seconda.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)

Confronta due istanze dell'oggetto SqlInt16 per stabilire se la prima è minore della seconda.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)

Confronta due strutture SqlInt16 per stabilire se la prima è minore o uguale alla seconda.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)

Calcola il resto dopo avere diviso il primo operando SqlInt16 per il secondo.Computes the remainder after dividing its first SqlInt16 operand by its second.

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

Divide i due valori SqlInt16 e restituisce il resto.Divides two SqlInt16 values and returns the remainder.

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

Calcola il prodotto dei due parametri SqlInt16.Computes the product of the two SqlInt16 parameters.

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

Esegue un confronto logico su due strutture SqlInt16 per stabilire se sono diverse.Performs a logical comparison of two SqlInt16 structures to determine whether they are not equal.

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

L’operatore ~ esegue l’operazione complemento a uno bit per bit sul relativo operando SqlByte.The ~ operator performs a bitwise one's complement operation on its SqlByte operand.

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

Converte la rappresentazione String di un numero nell'intero con segno a 16 bit equivalente.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)

Sottrae il secondo parametro SqlInt16 dal primo.Subtracts the second SqlInt16 parameter from the first.

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

Converte questa struttura SqlInt16 in SqlBoolean.Converts this SqlInt16 structure to SqlBoolean.

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

Converte questa struttura SqlInt16 in SqlByte.Converts this SqlInt16 structure to SqlByte.

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

Converte questa struttura SqlInt16 in SqlDecimal.Converts this SqlInt16 structure to SqlDecimal.

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

Converte questa struttura SqlInt16 in SqlDouble.Converts this SqlInt16 structure to SqlDouble.

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

Converte questa struttura SqlInt16 in SqlInt32.Converts this SqlInt16 structure to SqlInt32.

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

Converte questa struttura SqlInt16 in SqlInt64.Converts this SqlInt16 structure to SqlInt64.

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

Converte questa struttura SqlInt16 in SqlMoney.Converts this SqlInt16 structure to SqlMoney.

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

Converte questa struttura SqlInt16 in SqlSingle.Converts this SqlInt16 structure to SqlSingle.

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

Converte questa struttura SqlInt16 in SqlString.Converts this SqlInt16 structure to SqlString.

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

Converte una struttura SqlInt16 in String.Converts a SqlInt16 structure to String.

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

Esegue un’operazione esclusiva OR bit per bit sui parametri forniti.Performs a bitwise exclusive-OR operation on the supplied parameters.

Operatori

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

Calcola la somma di due operandi SqlInt16.Computes the sum of the two SqlInt16 operands.

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

Calcola l’operazione AND bit per bit dei relativi operandi SqlInt16.Computes the bitwise AND of its SqlInt16 operands.

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

Calcola l’operatore OR bit per bit dei due operandi SqlInt16.Computes the bitwise OR of its two SqlInt16 operands.

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

Divide il primo operando SqlInt16 per il secondo.Divides the first SqlInt16 operand by the second.

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

Esegue un confronto logico di due strutture SqlInt16 per stabilire se sono uguali.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)

Esegue un’operazione esclusiva OR bit per bit sui parametri forniti.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)

Converte l’oggetto fornito SqlString in SqlInt16.Converts the supplied SqlString object to SqlInt16.

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

Converte la struttura SqlSingle fornita in SqlInt16.Converts the supplied SqlSingle structure to SqlInt16.

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

Converte la struttura SqlMoney fornita in SqlInt16.Converts the supplied SqlMoney structure to SqlInt16.

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

Converte la struttura SqlInt64 fornita in SqlInt16.Converts the supplied SqlInt64 structure to SqlInt16.

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

Converte la struttura SqlInt32 fornita in SqlInt16.Converts the supplied SqlInt32 structure to SqlInt16.

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

Converte la struttura SqlInt16 specificata in un valore short integer.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)

Converte la struttura SqlDouble fornita in SqlInt16.Converts the supplied SqlDouble structure to SqlInt16.

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

Converte la struttura SqlDecimal fornita in SqlInt16.Converts the supplied SqlDecimal structure to SqlInt16.

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

Converte la struttura SqlBoolean fornita in SqlInt16.Converts the supplied SqlBoolean structure to SqlInt16.

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

Confronta due istanze dell'oggetto SqlInt16 per stabilire se la prima è maggiore della seconda.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)

Confronta due strutture SqlInt16 per stabilire se la prima è maggiore o uguale alla seconda.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)

Converte la struttura SqlByte fornita in SqlInt16.Converts the supplied SqlByte structure to SqlInt16.

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

Converte il valore short integer specificato in SqlInt16 .Converts the supplied short integer to SqlInt16.

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

Esegue un confronto logico su due strutture SqlInt16 per stabilire se sono diverse.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)

Confronta due istanze dell'oggetto SqlInt16 per stabilire se la prima è minore della seconda.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)

Confronta due strutture SqlInt16 per stabilire se la prima è minore o uguale alla seconda.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)

Calcola il resto dopo avere diviso il primo operando SqlInt16 per il secondo.Computes the remainder after dividing its first SqlInt16 operand by its second.

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

Calcola il prodotto dei due parametri SqlInt16.Computes the product of the two SqlInt16 parameters.

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

L’operatore ~ esegue l’operazione complemento a uno bit per bit sul relativo operando 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)

Sottrae il secondo parametro SqlInt16 dal primo.Subtracts the second SqlInt16 parameter from the first.

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

L’operatore unario meno nega la proprietà Value dell’operando SqlInt16.The unary minus operator negates the Value of the SqlInt16 operand.

Implementazioni dell'interfaccia esplicita

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

Questo membro supporta l'infrastruttura .NET Framework e non è possibile usarlo direttamente dal codice.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)

Questo membro supporta l'infrastruttura .NET Framework e non è possibile usarlo direttamente dal codice.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)

Questo membro supporta l'infrastruttura .NET Framework e non è possibile usarlo direttamente dal codice.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Si applica a

Vedi anche