Int16 | CF 1.0, ECMA 1.0, serializable |
System (mscorlib.dll) | struct |
This is the value type for 16-bit
integers (which can range from -32768
to 32767). This is also available in C# through the
short alias.
public struct Int16 : IComparable, IFormattable, IConvertible {
// Public Static Fields
public const short MaxValue;
// =32767
public const short MinValue;
// =-32768
// Public Static Methods
public static short Parse(string s);
public static short Parse(string s, IFormatProvider provider);
public static short Parse(string s, System.Globalization.NumberStyles style);
public static short Parse(string s, System.Globalization.NumberStyles style,
IFormatProvider provider);
// Public Instance Methods
public int CompareTo(object value);
// implements IComparable
public override bool Equals(object obj);
// overrides ValueType
public override int GetHashCode( );
// overrides ValueType
public TypeCode GetTypeCode( );
// implements IConvertible
public override string ToString( );
// overrides ValueType
public string ToString(IFormatProvider provider);
// implements IConvertible
public string ToString(string format);
public string ToString(string format, IFormatProvider provider)
// implements IFormattable
}
Hierarchy
Object
ValueType Int16(IComparable,
IFormattable, IConvertible)
Returned By
Multiple types
Passed To
Multiple types
|