Int16 構造体

定義

16 ビット符号付き整数を表します。

public value class short : IComparable, IComparable<short>, IConvertible, IEquatable<short>, IFormattable
public value class short : IComparable, IComparable<short>, IConvertible, IEquatable<short>, ISpanFormattable
public value class short : IComparable<short>, IConvertible, IEquatable<short>, IParsable<short>, ISpanParsable<short>, System::Numerics::IAdditionOperators<short, short, short>, System::Numerics::IAdditiveIdentity<short, short>, System::Numerics::IBinaryInteger<short>, System::Numerics::IBinaryNumber<short>, System::Numerics::IBitwiseOperators<short, short, short>, System::Numerics::IComparisonOperators<short, short, bool>, System::Numerics::IDecrementOperators<short>, System::Numerics::IDivisionOperators<short, short, short>, System::Numerics::IEqualityOperators<short, short, bool>, System::Numerics::IIncrementOperators<short>, System::Numerics::IMinMaxValue<short>, System::Numerics::IModulusOperators<short, short, short>, System::Numerics::IMultiplicativeIdentity<short, short>, System::Numerics::IMultiplyOperators<short, short, short>, System::Numerics::INumber<short>, System::Numerics::INumberBase<short>, System::Numerics::IShiftOperators<short, int, short>, System::Numerics::ISignedNumber<short>, System::Numerics::ISubtractionOperators<short, short, short>, System::Numerics::IUnaryNegationOperators<short, short>, System::Numerics::IUnaryPlusOperators<short, short>
public value class short : IComparable<short>, IConvertible, IEquatable<short>, IParsable<short>, ISpanParsable<short>, IUtf8SpanParsable<short>, System::Numerics::IAdditionOperators<short, short, short>, System::Numerics::IAdditiveIdentity<short, short>, System::Numerics::IBinaryInteger<short>, System::Numerics::IBinaryNumber<short>, System::Numerics::IBitwiseOperators<short, short, short>, System::Numerics::IComparisonOperators<short, short, bool>, System::Numerics::IDecrementOperators<short>, System::Numerics::IDivisionOperators<short, short, short>, System::Numerics::IEqualityOperators<short, short, bool>, System::Numerics::IIncrementOperators<short>, System::Numerics::IMinMaxValue<short>, System::Numerics::IModulusOperators<short, short, short>, System::Numerics::IMultiplicativeIdentity<short, short>, System::Numerics::IMultiplyOperators<short, short, short>, System::Numerics::INumber<short>, System::Numerics::INumberBase<short>, System::Numerics::IShiftOperators<short, int, short>, System::Numerics::ISignedNumber<short>, System::Numerics::ISubtractionOperators<short, short, short>, System::Numerics::IUnaryNegationOperators<short, short>, System::Numerics::IUnaryPlusOperators<short, short>
public value class short : IComparable, IConvertible, IFormattable
public value class short : IComparable, IComparable<short>, IEquatable<short>, IFormattable
public struct Int16 : IComparable, IComparable<short>, IConvertible, IEquatable<short>, IFormattable
public readonly struct Int16 : IComparable, IComparable<short>, IConvertible, IEquatable<short>, IFormattable
public readonly struct Int16 : IComparable, IComparable<short>, IConvertible, IEquatable<short>, ISpanFormattable
public readonly struct Int16 : IComparable<short>, IConvertible, IEquatable<short>, IParsable<short>, ISpanParsable<short>, System.Numerics.IAdditionOperators<short,short,short>, System.Numerics.IAdditiveIdentity<short,short>, System.Numerics.IBinaryInteger<short>, System.Numerics.IBinaryNumber<short>, System.Numerics.IBitwiseOperators<short,short,short>, System.Numerics.IComparisonOperators<short,short,bool>, System.Numerics.IDecrementOperators<short>, System.Numerics.IDivisionOperators<short,short,short>, System.Numerics.IEqualityOperators<short,short,bool>, System.Numerics.IIncrementOperators<short>, System.Numerics.IMinMaxValue<short>, System.Numerics.IModulusOperators<short,short,short>, System.Numerics.IMultiplicativeIdentity<short,short>, System.Numerics.IMultiplyOperators<short,short,short>, System.Numerics.INumber<short>, System.Numerics.INumberBase<short>, System.Numerics.IShiftOperators<short,int,short>, System.Numerics.ISignedNumber<short>, System.Numerics.ISubtractionOperators<short,short,short>, System.Numerics.IUnaryNegationOperators<short,short>, System.Numerics.IUnaryPlusOperators<short,short>
public readonly struct Int16 : IComparable<short>, IConvertible, IEquatable<short>, IParsable<short>, ISpanParsable<short>, IUtf8SpanParsable<short>, System.Numerics.IAdditionOperators<short,short,short>, System.Numerics.IAdditiveIdentity<short,short>, System.Numerics.IBinaryInteger<short>, System.Numerics.IBinaryNumber<short>, System.Numerics.IBitwiseOperators<short,short,short>, System.Numerics.IComparisonOperators<short,short,bool>, System.Numerics.IDecrementOperators<short>, System.Numerics.IDivisionOperators<short,short,short>, System.Numerics.IEqualityOperators<short,short,bool>, System.Numerics.IIncrementOperators<short>, System.Numerics.IMinMaxValue<short>, System.Numerics.IModulusOperators<short,short,short>, System.Numerics.IMultiplicativeIdentity<short,short>, System.Numerics.IMultiplyOperators<short,short,short>, System.Numerics.INumber<short>, System.Numerics.INumberBase<short>, System.Numerics.IShiftOperators<short,int,short>, System.Numerics.ISignedNumber<short>, System.Numerics.ISubtractionOperators<short,short,short>, System.Numerics.IUnaryNegationOperators<short,short>, System.Numerics.IUnaryPlusOperators<short,short>
[System.Serializable]
public struct Int16 : IComparable, IConvertible, IFormattable
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct Int16 : IComparable, IComparable<short>, IConvertible, IEquatable<short>, IFormattable
public struct Int16 : IComparable, IComparable<short>, IEquatable<short>, IFormattable
type int16 = struct
    interface IConvertible
    interface IFormattable
type int16 = struct
    interface IConvertible
    interface ISpanFormattable
    interface IFormattable
type int16 = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<int16>
    interface ISpanFormattable
    interface ISpanParsable<int16>
    interface IAdditionOperators<int16, int16, int16>
    interface IAdditiveIdentity<int16, int16>
    interface IBinaryInteger<int16>
    interface IBinaryNumber<int16>
    interface IBitwiseOperators<int16, int16, int16>
    interface IComparisonOperators<int16, int16, bool>
    interface IEqualityOperators<int16, int16, bool>
    interface IDecrementOperators<int16>
    interface IDivisionOperators<int16, int16, int16>
    interface IIncrementOperators<int16>
    interface IModulusOperators<int16, int16, int16>
    interface IMultiplicativeIdentity<int16, int16>
    interface IMultiplyOperators<int16, int16, int16>
    interface INumber<int16>
    interface INumberBase<int16>
    interface ISubtractionOperators<int16, int16, int16>
    interface IUnaryNegationOperators<int16, int16>
    interface IUnaryPlusOperators<int16, int16>
    interface IShiftOperators<int16, int, int16>
    interface IMinMaxValue<int16>
    interface ISignedNumber<int16>
type int16 = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<int16>
    interface ISpanFormattable
    interface ISpanParsable<int16>
    interface IAdditionOperators<int16, int16, int16>
    interface IAdditiveIdentity<int16, int16>
    interface IBinaryInteger<int16>
    interface IBinaryNumber<int16>
    interface IBitwiseOperators<int16, int16, int16>
    interface IComparisonOperators<int16, int16, bool>
    interface IEqualityOperators<int16, int16, bool>
    interface IDecrementOperators<int16>
    interface IDivisionOperators<int16, int16, int16>
    interface IIncrementOperators<int16>
    interface IModulusOperators<int16, int16, int16>
    interface IMultiplicativeIdentity<int16, int16>
    interface IMultiplyOperators<int16, int16, int16>
    interface INumber<int16>
    interface INumberBase<int16>
    interface ISubtractionOperators<int16, int16, int16>
    interface IUnaryNegationOperators<int16, int16>
    interface IUnaryPlusOperators<int16, int16>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<int16>
    interface IShiftOperators<int16, int, int16>
    interface IMinMaxValue<int16>
    interface ISignedNumber<int16>
type int16 = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<int16>
    interface ISpanFormattable
    interface ISpanParsable<int16>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<int16>
    interface IAdditionOperators<int16, int16, int16>
    interface IAdditiveIdentity<int16, int16>
    interface IBinaryInteger<int16>
    interface IBinaryNumber<int16>
    interface IBitwiseOperators<int16, int16, int16>
    interface IComparisonOperators<int16, int16, bool>
    interface IEqualityOperators<int16, int16, bool>
    interface IDecrementOperators<int16>
    interface IDivisionOperators<int16, int16, int16>
    interface IIncrementOperators<int16>
    interface IModulusOperators<int16, int16, int16>
    interface IMultiplicativeIdentity<int16, int16>
    interface IMultiplyOperators<int16, int16, int16>
    interface INumber<int16>
    interface INumberBase<int16>
    interface ISubtractionOperators<int16, int16, int16>
    interface IUnaryNegationOperators<int16, int16>
    interface IUnaryPlusOperators<int16, int16>
    interface IShiftOperators<int16, int, int16>
    interface IMinMaxValue<int16>
    interface ISignedNumber<int16>
[<System.Serializable>]
type int16 = struct
    interface IFormattable
    interface IConvertible
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type int16 = struct
    interface IFormattable
    interface IConvertible
type int16 = struct
    interface IFormattable
Public Structure Int16
Implements IComparable, IComparable(Of Short), IConvertible, IEquatable(Of Short), IFormattable
Public Structure Int16
Implements IComparable, IComparable(Of Short), IConvertible, IEquatable(Of Short), ISpanFormattable
Public Structure Int16
Implements IAdditionOperators(Of Short, Short, Short), IAdditiveIdentity(Of Short, Short), IBinaryInteger(Of Short), IBinaryNumber(Of Short), IBitwiseOperators(Of Short, Short, Short), IComparable(Of Short), IComparisonOperators(Of Short, Short, Boolean), IConvertible, IDecrementOperators(Of Short), IDivisionOperators(Of Short, Short, Short), IEqualityOperators(Of Short, Short, Boolean), IEquatable(Of Short), IIncrementOperators(Of Short), IMinMaxValue(Of Short), IModulusOperators(Of Short, Short, Short), IMultiplicativeIdentity(Of Short, Short), IMultiplyOperators(Of Short, Short, Short), INumber(Of Short), INumberBase(Of Short), IParsable(Of Short), IShiftOperators(Of Short, Integer, Short), ISignedNumber(Of Short), ISpanParsable(Of Short), ISubtractionOperators(Of Short, Short, Short), IUnaryNegationOperators(Of Short, Short), IUnaryPlusOperators(Of Short, Short)
Public Structure Int16
Implements IAdditionOperators(Of Short, Short, Short), IAdditiveIdentity(Of Short, Short), IBinaryInteger(Of Short), IBinaryNumber(Of Short), IBitwiseOperators(Of Short, Short, Short), IComparable(Of Short), IComparisonOperators(Of Short, Short, Boolean), IConvertible, IDecrementOperators(Of Short), IDivisionOperators(Of Short, Short, Short), IEqualityOperators(Of Short, Short, Boolean), IEquatable(Of Short), IIncrementOperators(Of Short), IMinMaxValue(Of Short), IModulusOperators(Of Short, Short, Short), IMultiplicativeIdentity(Of Short, Short), IMultiplyOperators(Of Short, Short, Short), INumber(Of Short), INumberBase(Of Short), IParsable(Of Short), IShiftOperators(Of Short, Integer, Short), ISignedNumber(Of Short), ISpanParsable(Of Short), ISubtractionOperators(Of Short, Short, Short), IUnaryNegationOperators(Of Short, Short), IUnaryPlusOperators(Of Short, Short), IUtf8SpanParsable(Of Short)
Public Structure Int16
Implements IComparable, IConvertible, IFormattable
Public Structure Int16
Implements IComparable, IComparable(Of Short), IEquatable(Of Short), IFormattable
継承
属性
実装
IComparable IComparable<Int16> IConvertible IEquatable<Int16> IFormattable ISpanFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<Int16> IParsable<TSelf> ISpanParsable<Int16> ISpanParsable<TSelf> IAdditionOperators<Int16,Int16,Int16> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<Int16,Int16> IAdditiveIdentity<TSelf,TSelf> IBinaryInteger<Int16> IBinaryNumber<Int16> IBinaryNumber<TSelf> IBitwiseOperators<Int16,Int16,Int16> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<Int16,Int16,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<Int16> IDecrementOperators<TSelf> IDivisionOperators<Int16,Int16,Int16> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<Int16,Int16,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<Int16> IIncrementOperators<TSelf> IMinMaxValue<Int16> IModulusOperators<Int16,Int16,Int16> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<Int16,Int16> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<Int16,Int16,Int16> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<Int16> INumber<TSelf> INumberBase<Int16> INumberBase<TSelf> IShiftOperators<Int16,Int32,Int16> IShiftOperators<TSelf,Int32,TSelf> ISignedNumber<Int16> ISubtractionOperators<Int16,Int16,Int16> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<Int16,Int16> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<Int16,Int16> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<Int16> IUtf8SpanParsable<TSelf>

注釈

値型は Int16 、負の 32768 ~ 正の 32767 の範囲の値を持つ符号付き整数を表します。

この型は、この型のインスタンスの値を文字列表現に変換し、数値の文字列表現をこの型のインスタンスに変換し、この型のインスタンスを比較するメソッドを提供します。

クラスのメンバーを呼び出して、数値の Math 絶対値の取得、整数除算からの商と剰余の計算、2 つの整数の最大値または最小値の決定、数値の符号の取得、数値の丸めなど、さまざまな数値演算を実行することもできます。

書式指定コードが値型の文字列表現を制御する方法については、「 型の書式設定」を参照してください。

フィールド

MaxValue

Int16 の最大有効値を表します。 このフィールドは定数です。

MinValue

Int16 の最小有効値を表します。 このフィールドは定数です。

メソッド

Abs(Int16)

値の絶対を計算します。

Clamp(Int16, Int16, Int16)

値を包括的な最小値と最大値にクランプします。

CompareTo(Int16)

このインスタンスと指定した 16 ビット符号付き整数を比較し、このインスタンスの値が指定した 16 ビット符号付き整数の値よりも小さいか、同じか、それとも大きいかを示す整数を返します。

CompareTo(Object)

このインスタンスと指定したオブジェクトを比較し、このインスタンスの値がオブジェクトの値よりも小さいか、同じか、それとも大きいかを示す整数を返します。

CopySign(Int16, Int16)

値の符号を別の値の符号にコピーします。

CreateChecked<TOther>(TOther)

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外の値に対してオーバーフロー例外をスローします。

CreateSaturating<TOther>(TOther)

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外の値を飽和させます。

CreateTruncating<TOther>(TOther)

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外の値を切り捨てます。

DivRem(Int16, Int16)

2 つの値の商と剰余を計算します。

Equals(Int16)

このインスタンスが指定した Int16 値に等しいかどうかを示す値を返します。

Equals(Object)

このインスタンスが指定されたオブジェクトに等しいかどうかを示す値を返します。

GetHashCode()

このインスタンスのハッシュ コードを返します。

GetTypeCode()

Int16 値型の TypeCode を返します。

IsEvenInteger(Int16)

値が偶数の整数を表すかどうかを判断します。

IsNegative(Int16)

値が負かどうかを判断します。

IsOddInteger(Int16)

値が奇数の整数を表すかどうかを判断します。

IsPositive(Int16)

値が正かどうかを判断します。

IsPow2(Int16)

値が 2 の累乗であるかどうかを判断します。

LeadingZeroCount(Int16)

値の先頭の 0 の数を計算します。

Log2(Int16)

値の log2 を計算します。

Max(Int16, Int16)

2 つの値を、より大きいコンピューティングと比較します。

MaxMagnitude(Int16, Int16)

2 つの値を、より大きいコンピューティングと比較します。

Min(Int16, Int16)

2 つの値を比較して計算します。この値は小さくなります。

MinMagnitude(Int16, Int16)

2 つの値を比較して計算します。この値は小さくなります。

Parse(ReadOnlySpan<Byte>, IFormatProvider)

UTF-8 文字のスパンを値に解析します。

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

UTF-8 文字のスパンを値に解析します。

Parse(ReadOnlySpan<Char>, IFormatProvider)

文字のスパンを値に解析します。

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

指定したスタイルおよびカルチャに固有の書式による数値のスパン表現を、等価の 16 ビット符号付き整数に変換します。

Parse(String)

数値の文字列形式を、それと等価な 16 ビット符号付き整数に変換します。

Parse(String, IFormatProvider)

指定したカルチャに固有の書式による数値の文字列形式を、それと等価な 16 ビット符号付き整数に変換します。

Parse(String, NumberStyles)

指定したスタイルの数値の文字列形式を、それと等価の 16 ビット符号付き整数に変換します。

Parse(String, NumberStyles, IFormatProvider)

指定したスタイルおよびカルチャに固有の書式による数値の文字列形式を、それと等価の 16 ビット符号付き整数に変換します。

PopCount(Int16)

値に設定されているビット数を計算します。

RotateLeft(Int16, Int32)

指定した量だけ値を左に回転します。

RotateRight(Int16, Int32)

指定した量だけ値を右に回転します。

Sign(Int16)

値の符号を計算します。

ToString()

このインスタンスの数値を、それと等価な文字列形式に変換します。

ToString(IFormatProvider)

このインスタンスの数値を、指定したカルチャ固有の書式情報を使用して、それと等価な文字列形式に変換します。

ToString(String)

指定した書式を使用して、このインスタンスの数値を、それと等価な文字列形式に変換します。

ToString(String, IFormatProvider)

このインスタンスの数値を、指定した書式およびカルチャ固有の書式情報を使用して、それと等価な文字列形式に変換します。

TrailingZeroCount(Int16)

値の末尾の 0 の数を計算します。

TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

現在のインスタンスの値を UTF-8 として指定されたバイトスパンに書式設定しようとします。

TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

現在の short 数値インスタンスの値の、指定した文字スパンへの書式設定を試みます。

TryParse(ReadOnlySpan<Byte>, IFormatProvider, Int16)

UTF-8 文字のスパンを値に解析しようとします。

TryParse(ReadOnlySpan<Byte>, Int16)

数値の文字列表現を含む UTF-8 文字スパンを、等価の 16 ビット符号付き整数に変換しようとします。

TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, Int16)

UTF-8 文字のスパンを値に解析しようとします。

TryParse(ReadOnlySpan<Char>, IFormatProvider, Int16)

文字のスパンを値に解析しようとします。

TryParse(ReadOnlySpan<Char>, Int16)

指定したスタイルおよびカルチャに固有の書式による数値のスパン表現を、等価の 16 ビット符号付き整数に変換します。 戻り値は変換が成功したか失敗したかを示します。

TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Int16)

指定したスタイルおよびカルチャに固有の書式による数値のスパン表現を、等価の 16 ビット符号付き整数に変換します。 戻り値は変換が成功したか失敗したかを示します。

TryParse(String, IFormatProvider, Int16)

文字列を値に解析しようとします。

TryParse(String, Int16)

数値の文字列形式を、それと等価な 16 ビット符号付き整数に変換します。 戻り値は変換が成功したか失敗したかを示します。

TryParse(String, NumberStyles, IFormatProvider, Int16)

指定したスタイルおよびカルチャに固有の書式による数値の文字列形式を、それと等価の 16 ビット符号付き整数に変換します。 戻り値は変換が成功したか失敗したかを示します。

明示的なインターフェイスの実装

IAdditionOperators<Int16,Int16,Int16>.Addition(Int16, Int16)

合計を計算するために 2 つの値を加算します。

IAdditionOperators<Int16,Int16,Int16>.CheckedAddition(Int16, Int16)

合計を計算するために 2 つの値を加算します。

IAdditiveIdentity<Int16,Int16>.AdditiveIdentity

現在の型の加算 ID を取得します。

IBinaryInteger<Int16>.GetByteCount()

の一部として書き込まれるバイト数を TryWriteLittleEndian(Span<Byte>, Int32)取得します。

IBinaryInteger<Int16>.GetShortestBitLength()

現在の値の最短 2 の補数表現の長さをビット単位で取得します。

IBinaryInteger<Int16>.TryReadBigEndian(ReadOnlySpan<Byte>, Boolean, Int16)

16 ビット符号付き整数を表します。

IBinaryInteger<Int16>.TryReadLittleEndian(ReadOnlySpan<Byte>, Boolean, Int16)

16 ビット符号付き整数を表します。

IBinaryInteger<Int16>.TryWriteBigEndian(Span<Byte>, Int32)

現在の値をビッグ エンディアン形式で特定のスパンに書き込もうとします。

IBinaryInteger<Int16>.TryWriteLittleEndian(Span<Byte>, Int32)

現在の値をリトル エンディアン形式で特定のスパンに書き込もうとします。

IBinaryNumber<Int16>.AllBitsSet

すべてのビットが設定されているバイナリ型のインスタンスを取得します。

IBitwiseOperators<Int16,Int16,Int16>.BitwiseAnd(Int16, Int16)

2 つの値のビットごとの と を計算します。

IBitwiseOperators<Int16,Int16,Int16>.BitwiseOr(Int16, Int16)

2 つの値のビットごとの または を計算します。

IBitwiseOperators<Int16,Int16,Int16>.ExclusiveOr(Int16, Int16)

2 つの値の排他的またはを計算します。

IBitwiseOperators<Int16,Int16,Int16>.OnesComplement(Int16)

指定された値の 1-補数表現を計算します。

IComparable.CompareTo(Object)

このインスタンスと指定したオブジェクトを比較し、このインスタンスの値がオブジェクトの値よりも小さいか、同じか、それとも大きいかを示す整数を返します。

IComparisonOperators<Int16,Int16,Boolean>.GreaterThan(Int16, Int16)

2 つの値を比較して、どちらが大きいかを判断します。

IComparisonOperators<Int16,Int16,Boolean>.GreaterThanOrEqual(Int16, Int16)

2 つの値を比較して、どちらが大きいか等しいかを判断します。

IComparisonOperators<Int16,Int16,Boolean>.LessThan(Int16, Int16)

2 つの値を比較して、どちらが小さいかを判断します。

IComparisonOperators<Int16,Int16,Boolean>.LessThanOrEqual(Int16, Int16)

2 つの値を比較して、次の値以下を決定します。

IConvertible.GetTypeCode()

Int16 値型の TypeCode を返します。

IConvertible.ToBoolean(IFormatProvider)

このメンバーの詳細については、「ToBoolean(IFormatProvider)」をご覧ください。

IConvertible.ToByte(IFormatProvider)

このメンバーの詳細については、「ToByte(IFormatProvider)」をご覧ください。

IConvertible.ToChar(IFormatProvider)

このメンバーの詳細については、「ToChar(IFormatProvider)」をご覧ください。

IConvertible.ToDateTime(IFormatProvider)

この変換はサポートされていません。 このメソッドを使用しようとすると、InvalidCastException がスローされます。

IConvertible.ToDecimal(IFormatProvider)

このメンバーの詳細については、「ToDecimal(IFormatProvider)」をご覧ください。

IConvertible.ToDouble(IFormatProvider)

このメンバーの詳細については、「ToDouble(IFormatProvider)」をご覧ください。

IConvertible.ToInt16(IFormatProvider)

このメンバーの詳細については、「ToInt16(IFormatProvider)」をご覧ください。

IConvertible.ToInt32(IFormatProvider)

このメンバーの詳細については、「ToInt32(IFormatProvider)」をご覧ください。

IConvertible.ToInt64(IFormatProvider)

このメンバーの詳細については、「ToInt64(IFormatProvider)」をご覧ください。

IConvertible.ToSByte(IFormatProvider)

このメンバーの詳細については、「ToSByte(IFormatProvider)」をご覧ください。

IConvertible.ToSingle(IFormatProvider)

このメンバーの詳細については、「ToSingle(IFormatProvider)」をご覧ください。

IConvertible.ToType(Type, IFormatProvider)

このメンバーの詳細については、「ToType(Type, IFormatProvider)」をご覧ください。

IConvertible.ToUInt16(IFormatProvider)

このメンバーの詳細については、「ToUInt16(IFormatProvider)」をご覧ください。

IConvertible.ToUInt32(IFormatProvider)

このメンバーの詳細については、「ToUInt32(IFormatProvider)」をご覧ください。

IConvertible.ToUInt64(IFormatProvider)

このメンバーの詳細については、「ToUInt64(IFormatProvider)」をご覧ください。

IDecrementOperators<Int16>.CheckedDecrement(Int16)

値をデクリメントします。

IDecrementOperators<Int16>.Decrement(Int16)

値をデクリメントします。

IDivisionOperators<Int16,Int16,Int16>.Division(Int16, Int16)

1 つの値を別の値で除算して商を計算します。

IEqualityOperators<Int16,Int16,Boolean>.Equality(Int16, Int16)

2 つの値を比較して等価性を判断します。

IEqualityOperators<Int16,Int16,Boolean>.Inequality(Int16, Int16)

2 つの値を比較して、不等値を判断します。

IIncrementOperators<Int16>.CheckedIncrement(Int16)

値をインクリメントします。

IIncrementOperators<Int16>.Increment(Int16)

値をインクリメントします。

IMinMaxValue<Int16>.MaxValue

現在の型の最大値を取得します。

IMinMaxValue<Int16>.MinValue

現在の型の最小値を取得します。

IModulusOperators<Int16,Int16,Int16>.Modulus(Int16, Int16)

2 つの値を除算して、剰余または剰余を計算します。

IMultiplicativeIdentity<Int16,Int16>.MultiplicativeIdentity

現在の型の乗法 ID を取得します。

IMultiplyOperators<Int16,Int16,Int16>.CheckedMultiply(Int16, Int16)

2 つの値を乗算して製品を計算します。

IMultiplyOperators<Int16,Int16,Int16>.Multiply(Int16, Int16)

2 つの値を乗算して製品を計算します。

INumber<Int16>.MaxNumber(Int16, Int16)

2 つの値を比較して、より大きいを計算し、入力が の場合は NaNもう一方の値を返します。

INumber<Int16>.MinNumber(Int16, Int16)

2 つの値を比較して、より小さい計算を行い、入力が の場合は NaNもう一方の値を返します。

INumberBase<Int16>.IsCanonical(Int16)

値が正規表現内にあるかどうかを判断します。

INumberBase<Int16>.IsComplexNumber(Int16)

値が複素数を表すかどうかを判断します。

INumberBase<Int16>.IsFinite(Int16)

値が有限かどうかを判断します。

INumberBase<Int16>.IsImaginaryNumber(Int16)

値が純粋な虚数を表すかどうかを判断します。

INumberBase<Int16>.IsInfinity(Int16)

値が無限であるかどうかを判断します。

INumberBase<Int16>.IsInteger(Int16)

値が整数を表すかどうかを判断します。

INumberBase<Int16>.IsNaN(Int16)

値が NaN かどうかを判断します。

INumberBase<Int16>.IsNegativeInfinity(Int16)

値が負の無限大かどうかを判断します。

INumberBase<Int16>.IsNormal(Int16)

値が正常かどうかを判断します。

INumberBase<Int16>.IsPositiveInfinity(Int16)

値が正の無限大かどうかを判断します。

INumberBase<Int16>.IsRealNumber(Int16)

値が実数を表すかどうかを判断します。

INumberBase<Int16>.IsSubnormal(Int16)

値が非正規であるかどうかを判断します。

INumberBase<Int16>.IsZero(Int16)

値が 0 かどうかを判断します。

INumberBase<Int16>.MaxMagnitudeNumber(Int16, Int16)

2 つの値を比較して、大きさが大きい計算を行い、入力が の場合は NaNもう一方の値を返します。

INumberBase<Int16>.MinMagnitudeNumber(Int16, Int16)

2 つの値を比較して、大きさが小さい計算を行い、入力が の場合は NaNもう一方の値を返します。

INumberBase<Int16>.One

型の値 1 を取得します。

INumberBase<Int16>.Radix

型の基数 (基本) を取得します。

INumberBase<Int16>.TryConvertFromChecked<TOther>(TOther, Int16)

16 ビット符号付き整数を表します。

INumberBase<Int16>.TryConvertFromSaturating<TOther>(TOther, Int16)

16 ビット符号付き整数を表します。

INumberBase<Int16>.TryConvertFromTruncating<TOther>(TOther, Int16)

16 ビット符号付き整数を表します。

INumberBase<Int16>.TryConvertToChecked<TOther>(Int16, TOther)

現在の型のインスタンスを別の型に変換しようとします。現在の型の表現可能な範囲外の値に対してオーバーフロー例外がスローされます。

INumberBase<Int16>.TryConvertToSaturating<TOther>(Int16, TOther)

現在の型のインスタンスを別の型に変換し、現在の型の表現可能な範囲外の値を飽和させます。

INumberBase<Int16>.TryConvertToTruncating<TOther>(Int16, TOther)

現在の型のインスタンスを別の型に変換し、現在の型の表現可能な範囲外の値を切り捨てようとします。

INumberBase<Int16>.Zero

型の値 0 を取得します。

IShiftOperators<Int16,Int32,Int16>.LeftShift(Int16, Int32)

指定した量だけ値を左にシフトします。

IShiftOperators<Int16,Int32,Int16>.RightShift(Int16, Int32)

値を特定の量だけ右にシフトします。

IShiftOperators<Int16,Int32,Int16>.UnsignedRightShift(Int16, Int32)

値を特定の量だけ右にシフトします。

ISignedNumber<Int16>.NegativeOne

型の値 -1 を取得します。

ISubtractionOperators<Int16,Int16,Int16>.CheckedSubtraction(Int16, Int16)

2 つの値を減算して差を計算します。

ISubtractionOperators<Int16,Int16,Int16>.Subtraction(Int16, Int16)

2 つの値を減算して差を計算します。

IUnaryNegationOperators<Int16,Int16>.CheckedUnaryNegation(Int16)

値のチェックされた単項否定を計算します。

IUnaryNegationOperators<Int16,Int16>.UnaryNegation(Int16)

値の単項否定を計算します。

IUnaryPlusOperators<Int16,Int16>.UnaryPlus(Int16)

値の単項プラスを計算します。

適用対象

スレッド セーフ

この型のすべてのメンバーはスレッド セーフです。 インスタンスの状態を変更するように見えるメンバーは、実際には新しい値で初期化された新しいインスタンスを返します。 他の型と同様に、この型のインスタンスを含む共有変数の読み取りと書き込みは、スレッドセーフを保証するためにロックによって保護する必要があります。

こちらもご覧ください