Int64 Struktura

Definicja

Reprezentuje 64-bitową liczbę całkowitą ze znakiem.

public value class long : IComparable, IComparable<long>, IConvertible, IEquatable<long>, IFormattable
public value class long : IComparable, IComparable<long>, IConvertible, IEquatable<long>, ISpanFormattable
public value class long : IComparable<long>, IConvertible, IEquatable<long>, IParsable<long>, ISpanParsable<long>, System::Numerics::IAdditionOperators<long, long, long>, System::Numerics::IAdditiveIdentity<long, long>, System::Numerics::IBinaryInteger<long>, System::Numerics::IBinaryNumber<long>, System::Numerics::IBitwiseOperators<long, long, long>, System::Numerics::IComparisonOperators<long, long, bool>, System::Numerics::IDecrementOperators<long>, System::Numerics::IDivisionOperators<long, long, long>, System::Numerics::IEqualityOperators<long, long, bool>, System::Numerics::IIncrementOperators<long>, System::Numerics::IMinMaxValue<long>, System::Numerics::IModulusOperators<long, long, long>, System::Numerics::IMultiplicativeIdentity<long, long>, System::Numerics::IMultiplyOperators<long, long, long>, System::Numerics::INumber<long>, System::Numerics::INumberBase<long>, System::Numerics::IShiftOperators<long, int, long>, System::Numerics::ISignedNumber<long>, System::Numerics::ISubtractionOperators<long, long, long>, System::Numerics::IUnaryNegationOperators<long, long>, System::Numerics::IUnaryPlusOperators<long, long>
public value class long : IComparable<long>, IConvertible, IEquatable<long>, IParsable<long>, ISpanParsable<long>, IUtf8SpanParsable<long>, System::Numerics::IAdditionOperators<long, long, long>, System::Numerics::IAdditiveIdentity<long, long>, System::Numerics::IBinaryInteger<long>, System::Numerics::IBinaryNumber<long>, System::Numerics::IBitwiseOperators<long, long, long>, System::Numerics::IComparisonOperators<long, long, bool>, System::Numerics::IDecrementOperators<long>, System::Numerics::IDivisionOperators<long, long, long>, System::Numerics::IEqualityOperators<long, long, bool>, System::Numerics::IIncrementOperators<long>, System::Numerics::IMinMaxValue<long>, System::Numerics::IModulusOperators<long, long, long>, System::Numerics::IMultiplicativeIdentity<long, long>, System::Numerics::IMultiplyOperators<long, long, long>, System::Numerics::INumber<long>, System::Numerics::INumberBase<long>, System::Numerics::IShiftOperators<long, int, long>, System::Numerics::ISignedNumber<long>, System::Numerics::ISubtractionOperators<long, long, long>, System::Numerics::IUnaryNegationOperators<long, long>, System::Numerics::IUnaryPlusOperators<long, long>
public value class long : IComparable, IConvertible, IFormattable
public value class long : IComparable, IComparable<long>, IEquatable<long>, IFormattable
public struct Int64 : IComparable, IComparable<long>, IConvertible, IEquatable<long>, IFormattable
public readonly struct Int64 : IComparable, IComparable<long>, IConvertible, IEquatable<long>, IFormattable
public readonly struct Int64 : IComparable, IComparable<long>, IConvertible, IEquatable<long>, ISpanFormattable
public readonly struct Int64 : IComparable<long>, IConvertible, IEquatable<long>, IParsable<long>, ISpanParsable<long>, System.Numerics.IAdditionOperators<long,long,long>, System.Numerics.IAdditiveIdentity<long,long>, System.Numerics.IBinaryInteger<long>, System.Numerics.IBinaryNumber<long>, System.Numerics.IBitwiseOperators<long,long,long>, System.Numerics.IComparisonOperators<long,long,bool>, System.Numerics.IDecrementOperators<long>, System.Numerics.IDivisionOperators<long,long,long>, System.Numerics.IEqualityOperators<long,long,bool>, System.Numerics.IIncrementOperators<long>, System.Numerics.IMinMaxValue<long>, System.Numerics.IModulusOperators<long,long,long>, System.Numerics.IMultiplicativeIdentity<long,long>, System.Numerics.IMultiplyOperators<long,long,long>, System.Numerics.INumber<long>, System.Numerics.INumberBase<long>, System.Numerics.IShiftOperators<long,int,long>, System.Numerics.ISignedNumber<long>, System.Numerics.ISubtractionOperators<long,long,long>, System.Numerics.IUnaryNegationOperators<long,long>, System.Numerics.IUnaryPlusOperators<long,long>
public readonly struct Int64 : IComparable<long>, IConvertible, IEquatable<long>, IParsable<long>, ISpanParsable<long>, IUtf8SpanParsable<long>, System.Numerics.IAdditionOperators<long,long,long>, System.Numerics.IAdditiveIdentity<long,long>, System.Numerics.IBinaryInteger<long>, System.Numerics.IBinaryNumber<long>, System.Numerics.IBitwiseOperators<long,long,long>, System.Numerics.IComparisonOperators<long,long,bool>, System.Numerics.IDecrementOperators<long>, System.Numerics.IDivisionOperators<long,long,long>, System.Numerics.IEqualityOperators<long,long,bool>, System.Numerics.IIncrementOperators<long>, System.Numerics.IMinMaxValue<long>, System.Numerics.IModulusOperators<long,long,long>, System.Numerics.IMultiplicativeIdentity<long,long>, System.Numerics.IMultiplyOperators<long,long,long>, System.Numerics.INumber<long>, System.Numerics.INumberBase<long>, System.Numerics.IShiftOperators<long,int,long>, System.Numerics.ISignedNumber<long>, System.Numerics.ISubtractionOperators<long,long,long>, System.Numerics.IUnaryNegationOperators<long,long>, System.Numerics.IUnaryPlusOperators<long,long>
[System.Serializable]
public struct Int64 : IComparable, IConvertible, IFormattable
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct Int64 : IComparable, IComparable<long>, IConvertible, IEquatable<long>, IFormattable
public struct Int64 : IComparable, IComparable<long>, IEquatable<long>, IFormattable
type int64 = struct
    interface IConvertible
    interface IFormattable
type int64 = struct
    interface IConvertible
    interface ISpanFormattable
    interface IFormattable
type int64 = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<int64>
    interface ISpanFormattable
    interface ISpanParsable<int64>
    interface IAdditionOperators<int64, int64, int64>
    interface IAdditiveIdentity<int64, int64>
    interface IBinaryInteger<int64>
    interface IBinaryNumber<int64>
    interface IBitwiseOperators<int64, int64, int64>
    interface IComparisonOperators<int64, int64, bool>
    interface IEqualityOperators<int64, int64, bool>
    interface IDecrementOperators<int64>
    interface IDivisionOperators<int64, int64, int64>
    interface IIncrementOperators<int64>
    interface IModulusOperators<int64, int64, int64>
    interface IMultiplicativeIdentity<int64, int64>
    interface IMultiplyOperators<int64, int64, int64>
    interface INumber<int64>
    interface INumberBase<int64>
    interface ISubtractionOperators<int64, int64, int64>
    interface IUnaryNegationOperators<int64, int64>
    interface IUnaryPlusOperators<int64, int64>
    interface IShiftOperators<int64, int, int64>
    interface IMinMaxValue<int64>
    interface ISignedNumber<int64>
type int64 = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<int64>
    interface ISpanFormattable
    interface ISpanParsable<int64>
    interface IAdditionOperators<int64, int64, int64>
    interface IAdditiveIdentity<int64, int64>
    interface IBinaryInteger<int64>
    interface IBinaryNumber<int64>
    interface IBitwiseOperators<int64, int64, int64>
    interface IComparisonOperators<int64, int64, bool>
    interface IEqualityOperators<int64, int64, bool>
    interface IDecrementOperators<int64>
    interface IDivisionOperators<int64, int64, int64>
    interface IIncrementOperators<int64>
    interface IModulusOperators<int64, int64, int64>
    interface IMultiplicativeIdentity<int64, int64>
    interface IMultiplyOperators<int64, int64, int64>
    interface INumber<int64>
    interface INumberBase<int64>
    interface ISubtractionOperators<int64, int64, int64>
    interface IUnaryNegationOperators<int64, int64>
    interface IUnaryPlusOperators<int64, int64>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<int64>
    interface IShiftOperators<int64, int, int64>
    interface IMinMaxValue<int64>
    interface ISignedNumber<int64>
type int64 = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<int64>
    interface ISpanFormattable
    interface ISpanParsable<int64>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<int64>
    interface IAdditionOperators<int64, int64, int64>
    interface IAdditiveIdentity<int64, int64>
    interface IBinaryInteger<int64>
    interface IBinaryNumber<int64>
    interface IBitwiseOperators<int64, int64, int64>
    interface IComparisonOperators<int64, int64, bool>
    interface IEqualityOperators<int64, int64, bool>
    interface IDecrementOperators<int64>
    interface IDivisionOperators<int64, int64, int64>
    interface IIncrementOperators<int64>
    interface IModulusOperators<int64, int64, int64>
    interface IMultiplicativeIdentity<int64, int64>
    interface IMultiplyOperators<int64, int64, int64>
    interface INumber<int64>
    interface INumberBase<int64>
    interface ISubtractionOperators<int64, int64, int64>
    interface IUnaryNegationOperators<int64, int64>
    interface IUnaryPlusOperators<int64, int64>
    interface IShiftOperators<int64, int, int64>
    interface IMinMaxValue<int64>
    interface ISignedNumber<int64>
[<System.Serializable>]
type int64 = struct
    interface IFormattable
    interface IConvertible
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type int64 = struct
    interface IFormattable
    interface IConvertible
type int64 = struct
    interface IFormattable
Public Structure Int64
Implements IComparable, IComparable(Of Long), IConvertible, IEquatable(Of Long), IFormattable
Public Structure Int64
Implements IComparable, IComparable(Of Long), IConvertible, IEquatable(Of Long), ISpanFormattable
Public Structure Int64
Implements IAdditionOperators(Of Long, Long, Long), IAdditiveIdentity(Of Long, Long), IBinaryInteger(Of Long), IBinaryNumber(Of Long), IBitwiseOperators(Of Long, Long, Long), IComparable(Of Long), IComparisonOperators(Of Long, Long, Boolean), IConvertible, IDecrementOperators(Of Long), IDivisionOperators(Of Long, Long, Long), IEqualityOperators(Of Long, Long, Boolean), IEquatable(Of Long), IIncrementOperators(Of Long), IMinMaxValue(Of Long), IModulusOperators(Of Long, Long, Long), IMultiplicativeIdentity(Of Long, Long), IMultiplyOperators(Of Long, Long, Long), INumber(Of Long), INumberBase(Of Long), IParsable(Of Long), IShiftOperators(Of Long, Integer, Long), ISignedNumber(Of Long), ISpanParsable(Of Long), ISubtractionOperators(Of Long, Long, Long), IUnaryNegationOperators(Of Long, Long), IUnaryPlusOperators(Of Long, Long)
Public Structure Int64
Implements IAdditionOperators(Of Long, Long, Long), IAdditiveIdentity(Of Long, Long), IBinaryInteger(Of Long), IBinaryNumber(Of Long), IBitwiseOperators(Of Long, Long, Long), IComparable(Of Long), IComparisonOperators(Of Long, Long, Boolean), IConvertible, IDecrementOperators(Of Long), IDivisionOperators(Of Long, Long, Long), IEqualityOperators(Of Long, Long, Boolean), IEquatable(Of Long), IIncrementOperators(Of Long), IMinMaxValue(Of Long), IModulusOperators(Of Long, Long, Long), IMultiplicativeIdentity(Of Long, Long), IMultiplyOperators(Of Long, Long, Long), INumber(Of Long), INumberBase(Of Long), IParsable(Of Long), IShiftOperators(Of Long, Integer, Long), ISignedNumber(Of Long), ISpanParsable(Of Long), ISubtractionOperators(Of Long, Long, Long), IUnaryNegationOperators(Of Long, Long), IUnaryPlusOperators(Of Long, Long), IUtf8SpanParsable(Of Long)
Public Structure Int64
Implements IComparable, IConvertible, IFormattable
Public Structure Int64
Implements IComparable, IComparable(Of Long), IEquatable(Of Long), IFormattable
Dziedziczenie
Atrybuty
Implementuje
IComparable IComparable<Int64> IConvertible IEquatable<Int64> IFormattable ISpanFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<Int64> IParsable<TSelf> ISpanParsable<Int64> ISpanParsable<TSelf> IAdditionOperators<Int64,Int64,Int64> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<Int64,Int64> IAdditiveIdentity<TSelf,TSelf> IBinaryInteger<Int64> IBinaryNumber<Int64> IBinaryNumber<TSelf> IBitwiseOperators<Int64,Int64,Int64> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<Int64,Int64,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<Int64> IDecrementOperators<TSelf> IDivisionOperators<Int64,Int64,Int64> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<Int64,Int64,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<Int64> IIncrementOperators<TSelf> IMinMaxValue<Int64> IModulusOperators<Int64,Int64,Int64> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<Int64,Int64> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<Int64,Int64,Int64> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<Int64> INumber<TSelf> INumberBase<Int64> INumberBase<TSelf> IShiftOperators<Int64,Int32,Int64> IShiftOperators<TSelf,Int32,TSelf> ISignedNumber<Int64> ISubtractionOperators<Int64,Int64,Int64> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<Int64,Int64> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<Int64,Int64> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<Int64> IUtf8SpanParsable<TSelf>

Uwagi

Aby uzyskać więcej informacji na temat tego interfejsu API, zobacz dodatkowe uwagi dotyczące interfejsu API dla języka Int64.

Pola

MaxValue

Reprezentuje największą możliwą wartość elementu Int64. To pole jest stałe.

MinValue

Reprezentuje najmniejszą możliwą wartość elementu Int64. To pole jest stałe.

Metody

Abs(Int64)

Oblicza wartość bezwzględną.

Clamp(Int64, Int64, Int64)

Zaciska wartość do wartości minimalnej i maksymalnej.

CompareTo(Int64)

Porównuje to wystąpienie z 64-bitową liczbą całkowitą podpisaną i zwraca wskazanie ich wartości względnych.

CompareTo(Object)

Porównuje to wystąpienie z określonym obiektem i zwraca wskazanie ich względnych wartości.

CopySign(Int64, Int64)

Kopiuje znak wartości do znaku innej wartości.

CreateChecked<TOther>(TOther)

Tworzy wystąpienie bieżącego typu z wartości, zgłaszając wyjątek przepełnienia dla wszystkich wartości, które wykraczają poza reprezentatywny zakres bieżącego typu.

CreateSaturating<TOther>(TOther)

Tworzy wystąpienie bieżącego typu z wartości, saturując wszystkie wartości, które mieszczą się poza reprezentatywnym zakresem bieżącego typu.

CreateTruncating<TOther>(TOther)

Tworzy wystąpienie bieżącego typu z wartości, obcinając wszystkie wartości, które wykraczają poza reprezentatywny zakres bieżącego typu.

DivRem(Int64, Int64)

Oblicza iloraz i pozostałą część dwóch wartości.

Equals(Int64)

Zwraca wartość wskazującą, czy to wystąpienie jest równe określonej Int64 wartości.

Equals(Object)

Zwraca wartość wskazującą, czy to wystąpienie jest równe podanemu obiektowi.

GetHashCode()

Zwraca wartość skrótu dla tego wystąpienia.

GetTypeCode()

Zwraca wartość TypeCode dla typu Int64wartości .

IsEvenInteger(Int64)

Określa, czy wartość reprezentuje parzystą liczbę całkowitą.

IsNegative(Int64)

Określa, czy wartość jest ujemna.

IsOddInteger(Int64)

Określa, czy wartość reprezentuje nieparzystą liczbę całkowitą.

IsPositive(Int64)

Określa, czy wartość jest dodatnia.

IsPow2(Int64)

Określa, czy wartość jest mocą dwóch.

LeadingZeroCount(Int64)

Oblicza liczbę zer wiodących w wartości.

Log2(Int64)

Oblicza dziennik2 wartości.

Max(Int64, Int64)

Porównuje dwie wartości z obliczeniami, które są większe.

MaxMagnitude(Int64, Int64)

Porównuje dwie wartości z obliczeniami, które są większe.

Min(Int64, Int64)

Porównuje dwie wartości z obliczeniami, które są mniejsze.

MinMagnitude(Int64, Int64)

Porównuje dwie wartości z obliczeniami, które są mniejsze.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Analizuje zakres znaków UTF-8 w wartość.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Analizuje zakres znaków UTF-8 w wartość.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Analizuje zakres znaków w wartości.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Konwertuje reprezentację zakresu liczby w określonym stylu i formacie specyficznym dla kultury na odpowiednik liczby całkowitej ze znakiem 64-bitowym.

Parse(String)

Konwertuje reprezentację ciągu liczby na 64-bitową liczbę całkowitą ze znakiem 64-bitowym.

Parse(String, IFormatProvider)

Konwertuje reprezentację ciągu liczby w określonym formacie specyficznym dla kultury na odpowiednik 64-bitowej liczby całkowitej ze znakiem.

Parse(String, NumberStyles)

Konwertuje reprezentację ciągu liczby w określonym stylu na odpowiednik 64-bitowej liczby całkowitej ze znakiem 64-bitowym.

Parse(String, NumberStyles, IFormatProvider)

Konwertuje reprezentację ciągu liczby w określonym stylu i formacie specyficznym dla kultury na odpowiednik 64-bitowej liczby całkowitej ze znakiem.

PopCount(Int64)

Oblicza liczbę bitów ustawionych w wartości.

RotateLeft(Int64, Int32)

Obraca wartość pozostawioną przez daną kwotę.

RotateRight(Int64, Int32)

Obraca wartość z prawej strony według danej kwoty.

Sign(Int64)

Oblicza znak wartości.

ToString()

Konwertuje wartość liczbową tego wystąpienia na równoważną reprezentację w postaci ciągu.

ToString(IFormatProvider)

Konwertuje wartość liczbową tego wystąpienia na równoważną reprezentację w postaci ciągu przy użyciu podanych danych formatowania specyficznych dla kultury.

ToString(String)

Konwertuje wartość liczbową tego wystąpienia na równoważną reprezentację w postaci ciągu przy użyciu podanego formatu.

ToString(String, IFormatProvider)

Konwertuje wartość liczbową tego wystąpienia na równoważną reprezentację w postaci ciągu przy użyciu podanego formatu i informacji specyficznych dla kultury.

TrailingZeroCount(Int64)

Oblicza liczbę końcowych zer w wartości.

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

Próbuje sformatować wartość bieżącego wystąpienia jako UTF-8 w podanym zakresie bajtów.

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

Próbuje sformatować wartość bieżącego długiego wystąpienia liczbowego w podanym zakresie znaków.

TryParse(ReadOnlySpan<Byte>, IFormatProvider, Int64)

Próbuje przeanalizować zakres znaków UTF-8 w wartości.

TryParse(ReadOnlySpan<Byte>, Int64)

Próbuje przekonwertować zakres znaków UTF-8 zawierający reprezentację ciągu liczby na odpowiednik 64-bitowej liczby całkowitej ze znakiem.

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

Próbuje przeanalizować zakres znaków UTF-8 w wartości.

TryParse(ReadOnlySpan<Char>, IFormatProvider, Int64)

Próbuje przeanalizować zakres znaków w wartości.

TryParse(ReadOnlySpan<Char>, Int64)

Konwertuje reprezentację zakresu liczby na 64-bitową liczbę całkowitą ze znakiem. Zwracana wartość wskazuje, czy konwersja powiodła się czy nie.

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

Konwertuje reprezentację zakresu liczby w określonym stylu i formacie specyficznym dla kultury na odpowiednik 64-bitowej liczby całkowitej ze znakiem. Zwracana wartość wskazuje, czy konwersja powiodła się czy nie.

TryParse(String, IFormatProvider, Int64)

Próbuje przeanalizować ciąg w wartości.

TryParse(String, Int64)

Konwertuje reprezentację ciągu liczby na równoważną liczbę ze znakiem 64-bitowym. Zwracana wartość wskazuje, czy konwersja powiodła się czy nie.

TryParse(String, NumberStyles, IFormatProvider, Int64)

Konwertuje reprezentację ciągu liczby w określonym stylu i formacie specyficznym dla kultury na odpowiednik 64-bitowej liczby całkowitej ze znakiem. Zwracana wartość wskazuje, czy konwersja powiodła się czy nie.

Jawne implementacje interfejsu

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

Dodaje dwie wartości w celu obliczenia ich sumy.

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

Dodaje dwie wartości w celu obliczenia ich sumy.

IAdditiveIdentity<Int64,Int64>.AdditiveIdentity

Pobiera tożsamość addytywnego bieżącego typu.

IBinaryInteger<Int64>.GetByteCount()

Pobiera liczbę bajtów, które zostaną zapisane w ramach TryWriteLittleEndian(Span<Byte>, Int32)elementu .

IBinaryInteger<Int64>.GetShortestBitLength()

Pobiera długość w bitach najkrótszej reprezentacji bieżącej wartości.

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

Reprezentuje 64-bitową liczbę całkowitą ze znakiem.

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

Reprezentuje 64-bitową liczbę całkowitą ze znakiem.

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

Próbuje zapisać bieżącą wartość w formacie big-endian do danego zakresu.

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

Próbuje zapisać bieżącą wartość w formacie little-endian do danego zakresu.

IBinaryNumber<Int64>.AllBitsSet

Pobiera wystąpienie typu binarnego, w którym ustawiono wszystkie bity.

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

Oblicza bitowe i z dwóch wartości.

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

Oblicza bitowe lub z dwóch wartości.

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

Oblicza wyłącznie lub dwie wartości.

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

Oblicza reprezentację tej wartości jako uzupełnienie.

IComparable.CompareTo(Object)

Porównuje to wystąpienie z określonym obiektem i zwraca wskazanie ich względnych wartości.

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

Porównuje dwie wartości, aby określić, która wartość jest większa.

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

Porównuje dwie wartości, aby określić, która wartość jest większa lub równa.

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

Porównuje dwie wartości, aby określić, która wartość jest mniejsza.

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

Porównuje dwie wartości, aby określić, które wartości są mniejsze lub równe.

IConvertible.GetTypeCode()

Zwraca wartość TypeCode dla typu Int64wartości .

IConvertible.ToBoolean(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToBoolean(IFormatProvider).

IConvertible.ToByte(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToByte(IFormatProvider).

IConvertible.ToChar(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToChar(IFormatProvider).

IConvertible.ToDateTime(IFormatProvider)

Ta konwersja nie jest obsługiwana. Próba użycia tej metody zgłasza błąd InvalidCastException.

IConvertible.ToDecimal(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToDecimal(IFormatProvider).

IConvertible.ToDouble(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToDouble(IFormatProvider).

IConvertible.ToInt16(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToInt16(IFormatProvider).

IConvertible.ToInt32(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToInt32(IFormatProvider).

IConvertible.ToInt64(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToInt64(IFormatProvider).

IConvertible.ToSByte(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToSByte(IFormatProvider).

IConvertible.ToSingle(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToSingle(IFormatProvider).

IConvertible.ToType(Type, IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToType(Type, IFormatProvider).

IConvertible.ToUInt16(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToUInt16(IFormatProvider).

IConvertible.ToUInt32(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToUInt32(IFormatProvider).

IConvertible.ToUInt64(IFormatProvider)

Aby uzyskać opis tego elementu członkowskiego, zobacz ToUInt64(IFormatProvider).

IDecrementOperators<Int64>.CheckedDecrement(Int64)

Dekrementuje wartość.

IDecrementOperators<Int64>.Decrement(Int64)

Dekrementuje wartość.

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

Dzieli jedną wartość przez inną, aby obliczyć ich iloraz.

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

Porównuje dwie wartości w celu określenia równości.

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

Porównuje dwie wartości w celu określenia nierówności.

IIncrementOperators<Int64>.CheckedIncrement(Int64)

Zwiększa wartość.

IIncrementOperators<Int64>.Increment(Int64)

Zwiększa wartość.

IMinMaxValue<Int64>.MaxValue

Pobiera maksymalną wartość bieżącego typu.

IMinMaxValue<Int64>.MinValue

Pobiera minimalną wartość bieżącego typu.

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

Dzieli dwie wartości w celu obliczenia ich modulu lub reszty.

IMultiplicativeIdentity<Int64,Int64>.MultiplicativeIdentity

Pobiera tożsamość mnożenia bieżącego typu.

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

Mnoży dwie wartości w celu obliczenia ich produktu.

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

Mnoży dwie wartości w celu obliczenia ich produktu.

INumber<Int64>.MaxNumber(Int64, Int64)

Porównuje dwie wartości do obliczeń, która jest większa i zwraca drugą wartość, jeśli dane wejściowe to NaN.

INumber<Int64>.MinNumber(Int64, Int64)

Porównuje dwie wartości z obliczeniami, które są mniejsze i zwracają drugą wartość, jeśli dane wejściowe to NaN.

INumberBase<Int64>.IsCanonical(Int64)

Określa, czy wartość znajduje się w swojej reprezentacji kanonicznej.

INumberBase<Int64>.IsComplexNumber(Int64)

Określa, czy wartość reprezentuje liczbę zespolonej.

INumberBase<Int64>.IsFinite(Int64)

Określa, czy wartość jest skończona.

INumberBase<Int64>.IsImaginaryNumber(Int64)

Określa, czy wartość reprezentuje czystą wyimaginowaną liczbę.

INumberBase<Int64>.IsInfinity(Int64)

Określa, czy wartość jest nieskończona.

INumberBase<Int64>.IsInteger(Int64)

Określa, czy wartość reprezentuje liczbę całkowitą.

INumberBase<Int64>.IsNaN(Int64)

Określa, czy wartość to NaN.

INumberBase<Int64>.IsNegativeInfinity(Int64)

Określa, czy wartość jest ujemną nieskończonością.

INumberBase<Int64>.IsNormal(Int64)

Określa, czy wartość jest normalna.

INumberBase<Int64>.IsPositiveInfinity(Int64)

Określa, czy wartość jest nieskończonością dodatnią.

INumberBase<Int64>.IsRealNumber(Int64)

Określa, czy wartość reprezentuje liczbę rzeczywistą.

INumberBase<Int64>.IsSubnormal(Int64)

Określa, czy wartość jest nienormalna.

INumberBase<Int64>.IsZero(Int64)

Określa, czy wartość ma wartość zero.

INumberBase<Int64>.MaxMagnitudeNumber(Int64, Int64)

Porównuje dwie wartości do obliczeń, które mają większą wielkość i zwracają drugą wartość, jeśli dane wejściowe to NaN.

INumberBase<Int64>.MinMagnitudeNumber(Int64, Int64)

Porównuje dwie wartości do obliczeń, które mają mniejszą wielkość i zwracają drugą wartość, jeśli dane wejściowe to NaN.

INumberBase<Int64>.One

Pobiera wartość 1 typu.

INumberBase<Int64>.Radix

Pobiera promień lub bazę dla typu .

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

Reprezentuje 64-bitową liczbę całkowitą ze znakiem.

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

Reprezentuje 64-bitową liczbę całkowitą ze znakiem.

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

Reprezentuje 64-bitową liczbę całkowitą ze znakiem.

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

Próbuje przekonwertować wystąpienie bieżącego typu na inny typ, zgłaszając wyjątek przepełnienia dla wszystkich wartości, które wykraczają poza dopuszczalny zakres bieżącego typu.

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

Próbuje przekonwertować wystąpienie bieżącego typu na inny typ, saturując wszystkie wartości, które wykraczają poza dopuszczalny zakres bieżącego typu.

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

Próbuje przekonwertować wystąpienie bieżącego typu na inny typ, obcinając wszystkie wartości, które wykraczają poza dopuszczalny zakres bieżącego typu.

INumberBase<Int64>.Zero

Pobiera wartość 0 typu.

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

Przesuwa wartość w lewo o daną kwotę.

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

Przesuwa wartość w prawo o daną kwotę.

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

Przesuwa wartość w prawo o daną kwotę.

ISignedNumber<Int64>.NegativeOne

Pobiera wartość -1 typu.

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

Odejmuje dwie wartości, aby obliczyć ich różnicę.

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

Odejmuje dwie wartości, aby obliczyć ich różnicę.

IUnaryNegationOperators<Int64,Int64>.CheckedUnaryNegation(Int64)

Oblicza sprawdzoną jednoargumentową negację wartości.

IUnaryNegationOperators<Int64,Int64>.UnaryNegation(Int64)

Oblicza jednoargumentowe negację wartości.

IUnaryPlusOperators<Int64,Int64>.UnaryPlus(Int64)

Oblicza jednoargumentowy plus wartość.

Dotyczy

Bezpieczeństwo wątkowe

Wszystkie elementy członkowskie tego typu są bezpieczne wątkowo. Elementy członkowskie, które na pierwszy rzut oka modyfikują stan wystąpienia, w rzeczywistości zwracają nowe wystąpienie zainicjowane z nową wartością. Podobnie jak w przypadku innych typów odczytywanie i zapisywanie w udostępnionej zmiennej, która zawiera wystąpienie tego typu, musi być chronione przez blokadę w celu zagwarantowania bezpieczeństwa wątków.

Zobacz też